commit | 3b16a4e3c355ee3c790473decfcf83d4faeb8ce0 | [log] [tgz] |
---|---|---|
author | Josef Bacik <josef@redhat.com> | Wed Sep 21 15:05:58 2011 -0400 |
committer | Josef Bacik <josef@redhat.com> | Wed Oct 19 15:12:45 2011 -0400 |
tree | 5c3dad941468cf6952623cc18d6b1e682ee3f264 | |
parent | 455757c322cc0a0f2a692c5625dd88aaf6a7b889 [diff] |
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>