[Cluster-devel] [PATCH 06/11] filemap: add a kiocb_invalidate_post_direct_write helper

Hannes Reinecke hare at suse.de
Tue May 30 06:59:53 UTC 2023


On 5/24/23 08:38, Christoph Hellwig wrote:
> Add a helper to invalidate page cache after a dio write.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> Reviewed-by: Damien Le Moal <dlemoal at kernel.org>
> Acked-by: Darrick J. Wong <djwong at kernel.org>
> ---
>   fs/direct-io.c          | 10 ++--------
>   fs/iomap/direct-io.c    | 12 ++----------
>   include/linux/fs.h      |  5 -----
>   include/linux/pagemap.h |  1 +
>   mm/filemap.c            | 37 ++++++++++++++++++++-----------------
>   5 files changed, 25 insertions(+), 40 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