[PATCH 05/16] xfs: rename xfs_buf_get_nodaddr to be more appropriate
Alex Elder
aelder at sgi.com
Thu Sep 23 11:22:50 CDT 2010
On Wed, 2010-09-22 at 16:44 +1000, Dave Chinner wrote:
> From: Dave Chinner <dchinner at redhat.com>
>
> xfs_buf_get_nodaddr() is really used to allocate a buffer that is
> uncached. While it is not directly assigned a disk address, the fact
> that they are not cached is a more important distinction. With the
> upcoming uncached buffer read primitive, we should be consistent
> with this disctinction.
>
> While there, make page allocation in xfs_buf_get_nodaddr() safe
> against memory reclaim re-entrancy into the filesystem by changing
> the allocation to GFP_NOFS.
>
> Signed-off-by: Dave Chinner <dchinner at redhat.com>
Looks good.
Reviewed-by: Alex Elder <aelder at sgi.com>
More information about the xfs
mailing list