[Cluster-devel] [PATCH 08/11] iomap: use kiocb_write_and_wait and kiocb_invalidate_pages
Hannes Reinecke
hare at suse.de
Tue May 30 07:02:03 UTC 2023
On 5/24/23 08:38, Christoph Hellwig wrote:
> Use the common helpers for direct I/O page invalidation instead of
> open coding the logic. This leads to a slight reordering of checks
> in __iomap_dio_rw to keep the logic straight.
>
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> Reviewed-by: Damien Le Moal <dlemoal at kernel.org>
> Reviewed-by: Darrick J. Wong <djwong at kernel.org>
> ---
> fs/iomap/direct-io.c | 55 ++++++++++++++++----------------------------
> 1 file changed, 20 insertions(+), 35 deletions(-)
>
Reviewed-by: Hannes Reinecke <hare at suse.de>
Cheers,
Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare at suse.de +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Ivo Totev, Andrew
Myers, Andrew McDonald, Martje Boudien Moerman
More information about the Cluster-devel
mailing list