lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <CAHc6FU4u+G1gtZVr3CUbJi2i+GwWhfDUOZemQ4Nnde=uiOmjXA@mail.gmail.com> Date: Fri, 30 Jun 2017 13:51:10 +0200 From: Andreas Gruenbacher <agruenba@...hat.com> To: Christoph Hellwig <hch@....de> Cc: Jan Kara <jack@...e.cz>, linux-fsdevel <linux-fsdevel@...r.kernel.org>, linux-xfs@...r.kernel.org, linux-ext4 <linux-ext4@...r.kernel.org> Subject: Re: [PATCH 5/5] ext4: Switch to iomap for SEEK_HOLE / SEEK_DATA On Thu, Jun 29, 2017 at 3:54 PM, Christoph Hellwig <hch@....de> wrote: > Switch to the iomap_seek_hole and iomap_seek_data helpers for > implementing lseek SEEK_HOLE / SEEK_DATA, and remove all the > code that isn't needed any more. > > Note that with this patch ext4 will now always depend on the iomap > code instead of only when CONFIG_DAX is enabled, and it requires > adding a call into the extent status tree for iomap_begin as well > to properly deal with delalloc extents. This breaks SEEK_HOLE / SEEK_DATA on filesystems with the inline_data feature. Also, ext4 no longer calls inode_lock or inode_lock_shared; that needs to be added back for consistency between reading i_size and walking the file extents. Thanks, Andreas
Powered by blists - more mailing lists