Home
last modified time | relevance | path

Searched hist:a4aa5e56e5189b88a2891cdcc350dac618810354 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/md/
H A Ddm.cdiff a4aa5e56e5189b88a2891cdcc350dac618810354 Mon May 08 18:40:46 CDT 2017 Damien Le Moal <damien.lemoal@wdc.com> dm: fix REQ_OP_ZONE_RESET bio handling

The REQ_OP_ZONE_RESET bio has no payload and zero sectors. Its position
is the only information used to indicate the zone to reset on the
device. Due to its zero length, this bio is not cloned and sent to the
target through the non-flush case in __split_and_process_bio(). Add an
additional case in that function to call __split_and_process_non_flush()
without checking the clone info size.

Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>