dm crypt: remove BIOSET_NEED_RESCUER flag
authorNeilBrown <neilb@suse.com>
Tue, 29 Aug 2017 22:10:18 +0000 (08:10 +1000)
committerMike Snitzer <snitzer@redhat.com>
Wed, 13 Dec 2017 17:15:55 +0000 (12:15 -0500)
commit80cd17578310dbaf880ae0db9240ad2218c5811a
tree31aa785b6417389d87565d915f75f644a2f75c2f
parentc06b3e583750fa8f1d214ca50c86d936f6a329c6
dm crypt: remove BIOSET_NEED_RESCUER flag

The BIOSET_NEED_RESCUER flag is only needed when a make_request_fn might
do two allocations from the one bioset, and the second one could block
until the first bio completes.

dm-crypt does allocate from this bioset inside the dm make_request_fn,
but does so using GFP_NOWAIT so that the allocation will not block.

So BIOSET_NEED_RESCUER is not needed.

Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-crypt.c