[PATCH 0/4] Post merge per-bdi writeback patches

From: Jens Axboe
Date: Fri Sep 11 2009 - 07:50:43 EST


Hi,

This is what I currently have queued up for post merge of the
writeback patchset. It contains:

- The bdi work allocation and queue cleanup from Christoph.
- An sb->s_bdi pointer that gets assigned in get_sb_bdev(), OR
from the fs ->fill_super() if the file system doesn't use
get_sb_bdev(). It is required for WB_SYNC_ALL writeback. Someone
more familiar with this code should check that it is done in the
right place. As usual, I'm unsure of NFS...
- Once the ->s_bdi is in place, we can get rid of bdi_writeback_all()
for WB_SYNC_ALL. WB_SYNC_ALL now has to use bdi_start_writeback().
This cleans up bdi_writeback_all() nicely.
- With bdi_writeback_all() only doing WB_SYNC_NONE, we can drop
the bdi_lock requirement and move to RCU for bdi_list.

Please take a good look and review/comment, thanks! This patchset
is based on top of writeback-v20. It boots and works fine for me.

fs/btrfs/disk-io.c | 1
fs/fs-writeback.c | 111 ++++++++----------------------------
fs/fuse/inode.c | 2
fs/super.c | 6 +
fs/sync.c | 9 ++
fs/ubifs/super.c | 1
include/linux/backing-dev.h | 1
include/linux/fs.h | 1
mm/backing-dev.c | 76 +++++++++++++++++-------
mm/page-writeback.c | 8 +-
10 files changed, 105 insertions(+), 111 deletions(-)

--
Jens Axboe

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