diff options
author | Christoph Hellwig <hch@lst.de> | 2017-04-05 13:21:03 -0400 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-04-08 13:25:38 -0400 |
commit | 3deff1a70d5901342f460f8cc36e5d0c5d51c319 (patch) | |
tree | a74cc58c2a3105a9505028c87f8991378979e33c /drivers/md/multipath.c | |
parent | 02d261034f1c90ac8b052406bd7b18d2564b0b3c (diff) |
md: support REQ_OP_WRITE_ZEROES
Copy & paste from the REQ_OP_WRITE_SAME code.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/md/multipath.c')
-rw-r--r-- | drivers/md/multipath.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/multipath.c b/drivers/md/multipath.c index 79a12b59250b..e95d521d93e9 100644 --- a/drivers/md/multipath.c +++ b/drivers/md/multipath.c | |||
@@ -139,6 +139,7 @@ static void multipath_make_request(struct mddev *mddev, struct bio * bio) | |||
139 | mp_bh->bio.bi_end_io = multipath_end_request; | 139 | mp_bh->bio.bi_end_io = multipath_end_request; |
140 | mp_bh->bio.bi_private = mp_bh; | 140 | mp_bh->bio.bi_private = mp_bh; |
141 | mddev_check_writesame(mddev, &mp_bh->bio); | 141 | mddev_check_writesame(mddev, &mp_bh->bio); |
142 | mddev_check_write_zeroes(mddev, &mp_bh->bio); | ||
142 | generic_make_request(&mp_bh->bio); | 143 | generic_make_request(&mp_bh->bio); |
143 | return; | 144 | return; |
144 | } | 145 | } |