linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] ext4: fix unsafe extent initialization
@ 2018-12-18 14:03 zhangyi (F)
  2018-12-18 14:03 ` [PATCH v2 1/2] ext4: use i_size_read() when converting initialized extent zhangyi (F)
  2018-12-18 14:03 ` [PATCH v2 2/2] ext4: fix unsafe extent initialization zhangyi (F)
  0 siblings, 2 replies; 5+ messages in thread
From: zhangyi (F) @ 2018-12-18 14:03 UTC (permalink / raw)
  To: linux-ext4; +Cc: tytso, adilger.kernel, yi.zhang, miaoxie

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-01-21 16:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-18 14:03 [PATCH v2 0/2] ext4: fix unsafe extent initialization zhangyi (F)
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

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).