LWN.net Logo

Per-bdi writeback flusher threads v18

From:  Jens Axboe <jens.axboe@oracle.com>
To:  linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org
Subject:  [PATCH 0/8] Per-bdi writeback flusher threads v18
Date:  Fri, 4 Sep 2009 09:46:38 +0200
Message-ID:  <1252050406-22467-1-git-send-email-jens.axboe@oracle.com>
Cc:  chris.mason@oracle.com, david@fromorbit.com, hch@infradead.org, tytso@mit.edu, akpm@linux-foundation.org, jack@suse.cz
Archive-link:  Article, Thread

Hi,

This is the 18th release of the writeback patchset. Changes since
v17 include:

- Change the naming of sync_sb_inodes() and sync_sb_inodes_wait(). It's
  now writeback_inodes_sb() to start writeback on dirty sb inodes, and
  sync_inodes_sb() to start and wait on writeback. Suggestion from Jan
  Kara, and I agree it better explains what the code does.
- Fix compile error in pohmelfs.
- Update Ted's MAX_WRITEBACK_PAGES patch to be MB based instead of in
  pages.
- Integrate the suggestions from Christoph:
	- Move wakeup_flusher_threads() into fs/fs-writeback.c, it fits
	  better there and allows us to make bdi_writeback_all() static.
	- Get rid of generic_sync_sb_inodes(). Move the issue and wait
	  into the two callers instead, making the old function now
	  wait_sb_inodes() and only concerned with waiting on already
	  issued IO.
	- wbc->nr_to_write was mistakenly set to LLONG_MAX instead of
	  LONG_MAX.

Please review, thanks!

 b/block/blk-core.c                 |    1 
 b/drivers/block/aoe/aoeblk.c       |    1 
 b/drivers/char/mem.c               |    1 
 b/drivers/staging/pohmelfs/inode.c |    9 
 b/fs/btrfs/disk-io.c               |    1 
 b/fs/buffer.c                      |    2 
 b/fs/char_dev.c                    |    1 
 b/fs/configfs/inode.c              |    1 
 b/fs/fs-writeback.c                | 1042 +++++++++++++++++++++--------
 b/fs/fuse/inode.c                  |    1 
 b/fs/hugetlbfs/inode.c             |    1 
 b/fs/nfs/client.c                  |    1 
 b/fs/ocfs2/dlm/dlmfs.c             |    1 
 b/fs/ramfs/inode.c                 |    1 
 b/fs/super.c                       |    3 
 b/fs/sync.c                        |   20 
 b/fs/sysfs/inode.c                 |    1 
 b/fs/ubifs/budget.c                |   16 
 b/fs/ubifs/super.c                 |    9 
 b/include/linux/backing-dev.h      |   55 +
 b/include/linux/fs.h               |    8 
 b/include/linux/writeback.h        |   24 
 b/kernel/cgroup.c                  |    1 
 b/kernel/sysctl.c                  |    8 
 b/mm/Makefile                      |    2 
 b/mm/backing-dev.c                 |  379 ++++++++++
 b/mm/page-writeback.c              |  183 -----
 b/mm/swap_state.c                  |    1 
 b/mm/vmscan.c                      |    2 
 mm/pdflush.c                       |  269 -------
 30 files changed, 1267 insertions(+), 778 deletions(-)

-- 
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Copyright © 2009, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds