Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1553744
| From | Theodore Ts'o <tytso@mit.edu> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 2/2] ext4: Do not populate extents tree with outdated offsets while shifting extents |
| Date | 2017-01-07 22:30 +0100 |
| Message-ID | <sX6IN-5FK-1@gated-at.bofh.it> (permalink) |
| References | <sWJjb-71s-3@gated-at.bofh.it> <sWJjc-71s-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, Jan 06, 2017 at 09:26:01PM +0100, Roman Pen wrote: > Inside ext4_ext_shift_extents() function ext4_find_extent() is called > without EXT4_EX_NOCACHE flag, which should prevent cache population. > > This leads to oudated offsets in the extents tree and wrong blocks > afterwards. > > Patch fixes the problem providing EXT4_EX_NOCACHE flag for each > ext4_find_extents() call inside ext4_ext_shift_extents function. > > Signed-off-by: Roman Pen <roman.penyaev@profitbricks.com> Thanks, applied. - Ted
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2 0/2] ext4: fallocate insert/collapse range fixes Roman Pen <roman.penyaev@profitbricks.com> - 2017-01-06 21:30 +0100
[PATCH v2 2/2] ext4: Do not populate extents tree with outdated offsets while shifting extents Roman Pen <roman.penyaev@profitbricks.com> - 2017-01-06 21:30 +0100
Re: [PATCH v2 2/2] ext4: Do not populate extents tree with outdated offsets while shifting extents Theodore Ts'o <tytso@mit.edu> - 2017-01-07 22:30 +0100
Re: [PATCH v2 2/2] ext4: Do not populate extents tree with outdated offsets while shifting extents Roman Penyaev <roman.penyaev@profitbricks.com> - 2017-01-09 13:40 +0100
csiph-web