Re: [PATCH 10/25] libxfs: introduce libxfs_buf_read_uncached

Christoph Hellwig
2020-02-25T17:44:42Z

On Mon, Feb 24, 2020 at 04:12:31PM -0800, Darrick J. Wong wrote:
> From: Darrick J. Wong <darrick.wong@oracle.com>
>
> Introduce an uncached read function so that userspace can handle them in
> the same way as the kernel. This also eliminates the need for some of
> the libxfs_purgebuf calls (and two trips into the cache code).
>
> Refactor the get/read uncached buffer functions to hide the details of
> uncached buffer-ism in rdwr.c.

Looks good,

Reviewed-by: Christoph Hellwig <hch@lst.de>