mbox series

[v4,0/4] ext4: fix a data corruption problem

Message ID 1548830980-29482-1-git-send-email-yi.zhang@huawei.com
Headers show
Series ext4: fix a data corruption problem | expand

Message

Zhang Yi Jan. 30, 2019, 6:49 a.m. UTC
Hi:

This patch set is the forth version that want to fix a data corruption
problem. I have already fix all review comments from Jan Kara and tested
by xfstests.

Thanks,
Yi.

----------

Changes since v3:
 - Make the comment more readable in the first two patches.
 - Remove the unneeded __jbd2_journal_temp_unlink_buffer calls.
 - Add the Reviewed-by signature.

Changes since v2:
 - Change the commit log and comments in the first patch.
 - Add the three cleanup patches to remove all clean_bdev_aliases() calls
   and change the return value of ext4_ext_convert_to_initialized().

zhangyi (F) (4):
  jbd2: make sure dirty flag is cleared while revorking a buffer which
    belongs to older transaction
  jbd2: discard dirty data when forgetting an un-journalled buffer
  ext4: cleanup clean_bdev_aliases() calls
  ext4: convert ext4_split_extent() to return requested length

 fs/ext4/extents.c     | 26 +++++++----------------
 fs/ext4/inode.c       |  7 ------
 fs/ext4/page-io.c     |  4 +---
 fs/jbd2/transaction.c | 59 +++++++++++++++++++++++++++++++++++++++++++--------
 4 files changed, 59 insertions(+), 37 deletions(-)