summaryrefslogtreecommitdiffstats
path: root/fs/ext4/move_extent.c
diff options
context:
space:
mode:
authorTao Ma <boyu.mt@taobao.com>2012-09-26 00:08:57 -0400
committerTheodore Ts'o <tytso@mit.edu>2012-09-26 00:08:57 -0400
commit0acdb8876fead922c9ffa6768c5675a37485c48c (patch)
treeb4cca27cf1cff13e704e5eed85a8248a38da8ec7 /fs/ext4/move_extent.c
parent7f1468d1d50d368097ab13596dc08eaba7eace7f (diff)
downloadop-kernel-dev-0acdb8876fead922c9ffa6768c5675a37485c48c.zip
op-kernel-dev-0acdb8876fead922c9ffa6768c5675a37485c48c.tar.gz
ext4: don't call update_backups() multiple times for the same bg
When performing an online resize, we add a bunch of groups at one time in ext4_flex_group_add, so in most cases a lot of group descriptors will be in the same group block. But in the end of this function, update_backups will be called for every group descriptor and the same block will be copied and journalled again and again. It is really a waste. Fix things so we only update a particular bg descriptor block once and skip subsequent updates of the same block. Signed-off-by: Tao Ma <boyu.mt@taobao.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/move_extent.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud