aboutsummaryrefslogtreecommitdiff
path: root/drivers/video/hpfb.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2009-09-16 19:22:48 +0200
committerJens Axboe <jens.axboe@oracle.com>2009-09-25 18:08:24 +0200
commita5989bdc981ec85e0734ac22519cc0b780813d7b (patch)
tree74cc93bd420b7bd044e3fd5451c652b3742015e6 /drivers/video/hpfb.c
parent7fa07729e439a6184bd824746d06a49cca553f15 (diff)
fs: Fix busyloop in wb_writeback()
If all inodes are under writeback (e.g. in case when there's only one inode with dirty pages), wb_writeback() with WB_SYNC_NONE work basically degrades to busylooping until I_SYNC flags of the inode is cleared. Fix the problem by waiting on I_SYNC flags of an inode on b_more_io list in case we failed to write anything. Tested-by: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/video/hpfb.c')
0 files changed, 0 insertions, 0 deletions