summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/md/dm-kcopyd.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/md/dm-kcopyd.c')
-rw-r--r--kernel/drivers/md/dm-kcopyd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/md/dm-kcopyd.c b/kernel/drivers/md/dm-kcopyd.c
index 3a7cade5e..1452ed9aa 100644
--- a/kernel/drivers/md/dm-kcopyd.c
+++ b/kernel/drivers/md/dm-kcopyd.c
@@ -244,7 +244,7 @@ static int kcopyd_get_pages(struct dm_kcopyd_client *kc,
*pages = NULL;
do {
- pl = alloc_pl(__GFP_NOWARN | __GFP_NORETRY);
+ pl = alloc_pl(__GFP_NOWARN | __GFP_NORETRY | __GFP_KSWAPD_RECLAIM);
if (unlikely(!pl)) {
/* Use reserved pages */
pl = kc->pages;