diff options
author | Mike Snitzer <snitzer@redhat.com> | 2018-03-26 17:49:16 +0200 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2018-04-03 21:04:20 +0200 |
commit | 0519c71e8d461ac3ef9a555bb7339243c9128d37 (patch) | |
tree | 8c2b21667f734e23721a59bd16b36277ad19648d /drivers/md/dm-table.c | |
parent | dm raid: fix nosync status (diff) | |
download | linux-0519c71e8d461ac3ef9a555bb7339243c9128d37.tar.xz linux-0519c71e8d461ac3ef9a555bb7339243c9128d37.zip |
dm: backfill abnormal IO support to non-splitting IO submission
Otherwise, these abnormal IOs would be sent to the DM target
regardless of whether the target advertised support for them.
Factor out __process_abnormal_io() from __split_and_process_non_flush()
so that discards, write same, etc may be conditionally processed.
Fixes: 978e51ba3 ("dm: optimize bio-based NVMe IO submission")
Cc: stable@vger.kernel.org # 4.16
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-table.c')
0 files changed, 0 insertions, 0 deletions