Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c06b3e58 authored by NeilBrown's avatar NeilBrown Committed by Mike Snitzer
Browse files

dm: fix comment above dm_accept_partial_bio



Clarify that dm_accept_partial_bio isn't allowed for REQ_OP_ZONE_RESET
bios.

Signed-off-by: default avatarNeilBrown <neilb@suse.com>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent 552aa679
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -997,7 +997,7 @@ static size_t dm_dax_copy_from_iter(struct dax_device *dax_dev, pgoff_t pgoff,


/*
/*
 * A target may call dm_accept_partial_bio only from the map routine.  It is
 * A target may call dm_accept_partial_bio only from the map routine.  It is
 * allowed for all bio types except REQ_PREFLUSH.
 * allowed for all bio types except REQ_PREFLUSH and REQ_OP_ZONE_RESET.
 *
 *
 * dm_accept_partial_bio informs the dm that the target only wants to process
 * dm_accept_partial_bio informs the dm that the target only wants to process
 * additional n_sectors sectors of the bio and the rest of the data should be
 * additional n_sectors sectors of the bio and the rest of the data should be