summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2009-12-23 13:57:07 +0100
committerTheodore Ts'o <tytso@mit.edu>2009-12-23 13:57:07 +0100
commit17bd55d037a02b04d9119511cfd1a4b985d20f63 (patch)
treeddbc227fffb84d1b95f5f8c48b627f88f3fd56ed /Documentation
parentext4: Eliminate potential double free on error path (diff)
downloadlinux-17bd55d037a02b04d9119511cfd1a4b985d20f63.tar.xz
linux-17bd55d037a02b04d9119511cfd1a4b985d20f63.zip
fs-writeback: Add helper function to start writeback if idle
ext4, at least, would like to start pushing on writeback if it starts to get close to ENOSPC when reserving worst-case blocks for delalloc writes. Writing out delalloc data will convert those worst-case predictions into usually smaller actual usage, freeing up space before we hit ENOSPC based on this speculation. Thanks to Jens for the suggestion for the helper function, & the naming help. I've made the helper return status on whether writeback was started even though I don't plan to use it in the ext4 patch; it seems like it would be potentially useful to test this in some cases. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Acked-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions