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 PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Tue, 21 Jul 2020 18:01:43 +0200 From: Christoph Hellwig <hch@....de> To: "Darrick J. Wong" <darrick.wong@...cle.com> Cc: Christoph Hellwig <hch@....de>, Matthew Wilcox <willy@...radead.org>, Goldwyn Rodrigues <rgoldwyn@...e.de>, Dave Chinner <david@...morbit.com>, Damien Le Moal <damien.lemoal@....com>, Naohiro Aota <naohiro.aota@....com>, Johannes Thumshirn <jth@...nel.org>, linux-btrfs@...r.kernel.org, linux-fsdevel@...r.kernel.org, cluster-devel@...hat.com, linux-ext4@...r.kernel.org, linux-xfs@...r.kernel.org, Michael Kerrisk <mtk.manpages@...il.com>, linux-man@...r.kernel.org Subject: Re: RFC: iomap write invalidation On Tue, Jul 21, 2020 at 08:59:25AM -0700, Darrick J. Wong wrote: > In the comment that precedes iomap_dio_rw() for the iomap version, maybe let's just do that.. > ``direct_IO`` > called by the generic read/write routines to perform direct_IO - > that is IO requests which bypass the page cache and transfer > data directly between the storage and the application's address > space. This function can return -ENOTBLK to signal that it is > necessary to fallback to buffered IO. Note that > blockdev_direct_IO and variants can also return -ENOTBLK. ->direct_IO is not used for iomap and various other implementations. In fact it is a horrible hack that I've been trying to get rid of for a while.
Powered by blists - more mailing lists