summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm.c
diff options
context:
space:
mode:
authorNeilBrown2017-11-21 14:44:35 +0100
committerMike Snitzer2017-12-13 18:15:54 +0100
commitc06b3e583750fa8f1d214ca50c86d936f6a329c6 (patch)
treeaa2e2aeaf653e1e5caa2f3f48e4687db55eaf391 /drivers/md/dm.c
parentdm raid: use rs_is_raid*() (diff)
downloadkernel-qcow2-linux-c06b3e583750fa8f1d214ca50c86d936f6a329c6.tar.gz
kernel-qcow2-linux-c06b3e583750fa8f1d214ca50c86d936f6a329c6.tar.xz
kernel-qcow2-linux-c06b3e583750fa8f1d214ca50c86d936f6a329c6.zip
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: NeilBrown <neilb@suse.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm.c')
-rw-r--r--drivers/md/dm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm.c b/drivers/md/dm.c
index de17b7193299..fb9e6d808170 100644
--- a/drivers/md/dm.c
+++ b/drivers/md/dm.c
@@ -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
- * 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
* additional n_sectors sectors of the bio and the rest of the data should be