summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2011-03-25 22:13:42 (GMT)
committerDave Chinner <david@fromorbit.com>2011-03-25 22:13:42 (GMT)
commita19fb380961f209a3a406443686647bcd01bb9a6 (patch)
tree304baceb45f2b40991900a546c39663bb37814ea /usr
parent8287889742940cf3c416e755322090d09f2829be (diff)
downloadlinux-fsl-qoriq-a19fb380961f209a3a406443686647bcd01bb9a6.tar.xz
vmap: flush vmap aliases when mapping fails
On 32 bit systems, vmalloc space is limited and XFS can chew through it quickly as the vmalloc space is lazily freed. This can result in failure to map buffers, even when there is apparently large amounts of vmalloc space available. Hence, if we fail to map a buffer, purge the aliases that have not yet been freed to hopefuly free up enough vmalloc space to allow a retry to succeed. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions