[dm-devel] [PATCH 0/2] Remove BIOSET_NEED_RESCUER from some DM biosets
NeilBrown
neilb at suse.com
Tue Aug 29 22:10:18 UTC 2017
hi,
I'm working towards the bioset rescuer threads completely.
Part of that is understanding where they are actually needed,
and removing them where they are not.
bioset rescuer threads are only needed on a bioset where
a make_request_fn will
allocate from the bioset
submit that bio with generic_make_request
allocate again from the bioset, other then non-blocking allocation
Neither of the biosets in dm-crypt or dm-io are used with this pattern
so the flag can be removed.
The bioset allocated in dm.c *is* used with this pattern, so
some restructuring will be needed there before the flag can be
removed.
Thanks,
NeilBrown
---
NeilBrown (2):
dm-crypt: remove BIOSET_NEED_RESCUER flag.
dm-io: remove BIOSET_NEED_RESCUER flag from bios bioset
drivers/md/dm-crypt.c | 3 +--
drivers/md/dm-io.c | 3 +--
2 files changed, 2 insertions(+), 4 deletions(-)
--
Signature
More information about the dm-devel
mailing list