summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm.c
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2016-11-23 23:04:00 +0100
committerMike Snitzer <snitzer@redhat.com>2016-12-08 20:13:05 +0100
commit41c73a49df31151f4ff868f28fe4f129f113fa2c (patch)
tree673d805c470b5aed20be74336a089e427d92a933 /drivers/md/dm.c
parentdm bufio: don't take the lock in dm_bufio_shrink_count (diff)
downloadlinux-41c73a49df31151f4ff868f28fe4f129f113fa2c.tar.xz
linux-41c73a49df31151f4ff868f28fe4f129f113fa2c.zip
dm bufio: drop the lock when doing GFP_NOIO allocation
If the first allocation attempt using GFP_NOWAIT fails, drop the lock and retry using GFP_NOIO allocation (lock is dropped because the allocation can take some time). Note that we won't do GFP_NOIO allocation when we loop for the second time, because the lock shouldn't be dropped between __wait_for_free_buffer and __get_unclaimed_buffer. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm.c')
0 files changed, 0 insertions, 0 deletions