diff options
author | Jan Kara <jack@suse.cz> | 2012-07-03 16:45:32 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-07-22 23:58:49 +0400 |
commit | a8c7176b6ded413d5044a00f1d05477b95a6d7ad (patch) | |
tree | a2b3e075b7181ac100b13a4f9b57ae6628407a5f /fs/qnx6 | |
parent | 5c0d6b60a0ba46d45020547eacf7199171920935 (diff) | |
download | op-kernel-dev-a8c7176b6ded413d5044a00f1d05477b95a6d7ad.zip op-kernel-dev-a8c7176b6ded413d5044a00f1d05477b95a6d7ad.tar.gz |
vfs: Make sys_sync writeout also block device inodes
In case block device does not have filesystem mounted on it, sys_sync will just
ignore it and doesn't writeout its dirty pages. This is because writeback code
avoids writing inodes from superblock without backing device and
blockdev_superblock is such a superblock. Since it's unexpected that sync
doesn't writeout dirty data for block devices be nice to users and change the
behavior to do so. So now we iterate over all block devices on blockdev_super
instead of iterating over all superblocks when syncing block devices.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/qnx6')
0 files changed, 0 insertions, 0 deletions