]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: defragmentation code cleanup
authorDmitry Monakhov <dmonakhov@openvz.org>
Fri, 12 Apr 2013 03:24:58 +0000 (23:24 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 12 Apr 2013 03:24:58 +0000 (23:24 -0400)
commit134e5d7b9bd5f041008efbfdf5b93736aba4b052
treedefb07402dc57965237bd40af2ed1e92a7efcbb7
parent39bf86142cbecd624c8fdff890c3004036cd5aee
ext4: defragmentation code cleanup

- grab_cache_page_write_begin() may not wait on page's writeback since
  (b6e04c610c9e). But it is still reasonable to wait on page's writeback
  here in order to be on the safe side.

- Fix miss typo: pass 'length' instead of 'end' to __block_write_begin()
  https://bugzilla.kernel.org/show_bug.cgi?id=56241

TESTCASE: git://oss.sgi.com/xfs/cmds/xfstests.git
MKFS_OPTIONS="-b1024" ; ./check ext4/304

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Reviewed-by: Akira Fujita <a-fujita.rs.jp.nec.com>
fs/ext4/move_extent.c