diff options
author | Dmitry Monakhov <dmonakhov@openvz.org> | 2014-11-05 11:52:38 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2014-11-05 11:52:38 -0500 |
commit | 88c6b61ff1cfb4013a3523227d91ad11b2892388 (patch) | |
tree | 370f7015b4a53cabc2547a2bb59141cc5219d21a /arch/x86/tools/relocs_common.c | |
parent | 0df1f2487d2f0d04703f142813d53615d62a1da4 (diff) | |
download | blackbird-obmc-linux-88c6b61ff1cfb4013a3523227d91ad11b2892388.tar.gz blackbird-obmc-linux-88c6b61ff1cfb4013a3523227d91ad11b2892388.zip |
ext4: move_extent improve bh vanishing success factor
Xiaoguang Wang has reported sporadic EBUSY failures of ext4/302
Unfortunetly there is nothing we can do if some other task holds BH's
refenrence. So we must return EBUSY in this case. But we can try
kicking the journal to see if the other task releases the bh reference
after the commit is complete. Also decrease false positives by
properly checking for ENOSPC and retrying the allocation after kicking
the journal --- which is done by ext4_should_retry_alloc().
[ Modified by tytso to properly check for ENOSPC. ]
Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'arch/x86/tools/relocs_common.c')
0 files changed, 0 insertions, 0 deletions