• NeilBrown's avatar
    dm crypt: remove BIOSET_NEED_RESCUER flag · 80cd1757
    NeilBrown authored
    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: default avatarNeilBrown <neilb@suse.com>
    Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
    80cd1757
dm-crypt.c 77.1 KB