/* If we are not low on memory then do the readahead in a deadlock safe manner.  */
void xfs_buf_readahead(xfs_buftarg_t *target, xfs_off_t ioff, size_t isize, xfs_buf_flags_t flags)
/* If we are not low on memory then do the readahead in a deadlock safe manner.  */
void xfs_buf_readahead(xfs_buftarg_t *target, xfs_off_t ioff, size_t isize, xfs_buf_flags_t flags)
{
	struct backing_dev_info *bdi;
	bdi = target->bt_mapping->backing_dev_info;
	if (bdi_read_congested(bdi))
		return;
	flags |= (XBF_TRYLOCK|XBF_ASYNC|XBF_READ_AHEAD);
	xfs_buf_read(target, ioff, isize, flags);
}