diff options
author | Josef Bacik <josef@redhat.com> | 2011-09-21 21:05:58 +0200 |
---|---|---|
committer | Josef Bacik <josef@redhat.com> | 2011-10-19 21:12:45 +0200 |
commit | 3b16a4e3c355ee3c790473decfcf83d4faeb8ce0 (patch) | |
tree | 5c3dad941468cf6952623cc18d6b1e682ee3f264 /ipc | |
parent | Btrfs: delay iput when deleting a block group (diff) | |
download | linux-3b16a4e3c355ee3c790473decfcf83d4faeb8ce0.tar.xz linux-3b16a4e3c355ee3c790473decfcf83d4faeb8ce0.zip |
Btrfs: use the inode's mapping mask for allocating pages
Johannes pointed out we were allocating only kernel pages for doing writes,
which is kind of a big deal if you are on 32bit and have more than a gig of ram.
So fix our allocations to use the mapping's gfp but still clear __GFP_FS so we
don't re-enter. Thanks,
Reported-by: Johannes Weiner <jweiner@redhat.com>
Signed-off-by: Josef Bacik <josef@redhat.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions