linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "zhangyi (F)" <yi.zhang@huawei.com>
To: <linux-ext4@vger.kernel.org>
Cc: <tytso@mit.edu>, <adilger.kernel@dilger.ca>,
	<yi.zhang@huawei.com>, <miaoxie@huawei.com>
Subject: [PATCH v2 0/2] ext4: fix unsafe extent initialization
Date: Tue, 18 Dec 2018 22:03:40 +0800	[thread overview]
Message-ID: <1545141822-3082-1-git-send-email-yi.zhang@huawei.com> (raw)

Hi, Ted and Andreas

These two patches are the second version of the PATCH "ext4: fix unsafe
extent initialization". Instead of split extent in the first iteration,
it update the i_disksize if the zeroout region exceeds current
i_disksize, please review.

Thanks,
Yi.

-------
Changes since v1:
 - Add a patch to correct inode->i_size reading when converting
   initialized extent.
 - Instead of split extent, update i_disksize if necessary.

zhangyi (F) (2):
  ext4: use i_size_read() when converting initialized extent
  ext4: fix unsafe extent initialization

 fs/ext4/extents.c | 24 ++++++++++++++++++++++--
 1 file changed, 22 insertions(+), 2 deletions(-)

-- 
2.7.4

             reply	other threads:[~2018-12-18 14:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-18 14:03 zhangyi (F) [this message]
2018-12-18 14:03 ` [PATCH v2 1/2] ext4: use i_size_read() when converting initialized extent zhangyi (F)
2019-01-21 15:56   ` Jan Kara
2018-12-18 14:03 ` [PATCH v2 2/2] ext4: fix unsafe extent initialization zhangyi (F)
2019-01-21 16:55   ` Jan Kara

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1545141822-3082-1-git-send-email-yi.zhang@huawei.com \
    --to=yi.zhang@huawei.com \
    --cc=adilger.kernel@dilger.ca \
    --cc=linux-ext4@vger.kernel.org \
    --cc=miaoxie@huawei.com \
    --cc=tytso@mit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).