summaryrefslogtreecommitdiffstats
path: root/kernel/time/Kconfig
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2012-05-03 14:47:57 +0200
committerFengguang Wu <fengguang.wu@intel.com>2012-05-06 13:43:39 +0800
commit6290be1c1dc6589eeda213aa40946b27fa4faac8 (patch)
tree5c7aa9510c3210775b948b578fa844cbfe399aa0 /kernel/time/Kconfig
parentcc1676d917f32504dbadc858fa790bc524c9f0da (diff)
downloadop-kernel-dev-6290be1c1dc6589eeda213aa40946b27fa4faac8.zip
op-kernel-dev-6290be1c1dc6589eeda213aa40946b27fa4faac8.tar.gz
writeback: Move I_DIRTY_PAGES handling
Instead of clearing I_DIRTY_PAGES and resetting it when we didn't succeed in writing them all, just clear the bit only when we succeeded writing all the pages. We also move the clearing of the bit close to other i_state handling to separate it from writeback list handling. This is desirable because list handling will differ for flusher thread and other writeback_single_inode() callers in future. No filesystem plays any tricks with I_DIRTY_PAGES (like checking it in ->writepages or ->write_inode implementation) so this movement is safe. Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Diffstat (limited to 'kernel/time/Kconfig')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud