diff --git a/drivers/block/loop.c b/drivers/block/loop.c index 430d31499ce96..e1739efca37eb 100644 --- a/drivers/block/loop.c +++ b/drivers/block/loop.c @@ -893,7 +893,7 @@ static void loop_unprepare_queue(struct loop_device *lo) static int loop_kthread_worker_fn(void *worker_ptr) { - current->flags |= PF_LESS_THROTTLE; + current->flags |= PF_LESS_THROTTLE | PF_MEMALLOC_NOIO; return kthread_worker_fn(worker_ptr); }