summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-raid1.c
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2011-05-29 14:03:07 +0200
committerAlasdair G Kergon <agk@redhat.com>2011-05-29 14:03:07 +0200
commitd04714580f12379fcf7a0f799e86c92b96dd4e1f (patch)
tree3a6c152dcb0d062dadfecd9fb8b1866a0fdbfce5 /drivers/md/dm-raid1.c
parentdm kcopyd: add gfp parm to alloc_pl (diff)
downloadlinux-d04714580f12379fcf7a0f799e86c92b96dd4e1f.tar.xz
linux-d04714580f12379fcf7a0f799e86c92b96dd4e1f.zip
dm kcopyd: alloc pages from the main page allocator
This patch changes dm-kcopyd so that it allocates pages from the main page allocator with __GFP_NOWARN | __GFP_NORETRY flags (so that it can fail in case of memory pressure). If the allocation fails, dm-kcopyd allocates pages from its own reserve. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/dm-raid1.c')
0 files changed, 0 insertions, 0 deletions