On Fri, Feb 21, 2020 at 07:41:32AM -0800, Darrick J. Wong wrote: > From: Darrick J. Wong <darrick.wong@xxxxxxxxxx> > > If xfs_buf_get_map can't allocate enough memory for the buffer it's > trying to create, it'll cough up an error about not being able to > allocate "pagesn". That's not particularly helpful (and if we're really > out of memory the message is very spammy) so change the message to tell > us how many pages were actually requested, and ratelimit it too. > > Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx> Looks good, Reviewed-by: Christoph Hellwig <hch@xxxxxx>