Re: [PATCH] drbd: Fix drbd_request_prepare() discard handling

2018-06-29 Thread Jens Axboe
On 6/25/18 4:51 PM, Bart Van Assche wrote: > Fix the test that verifies whether bio_op(bio) represents a discard > or write zeroes operation. Compile-tested only. Applied, thanks Bart. -- Jens Axboe

Re: [PATCH] drbd: Fix drbd_request_prepare() discard handling

2018-06-29 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig

[PATCH] drbd: Fix drbd_request_prepare() discard handling

2018-06-25 Thread Bart Van Assche
Fix the test that verifies whether bio_op(bio) represents a discard or write zeroes operation. Compile-tested only. Fixes: 7435e9018f91 ("drbd: zero-out partial unaligned discards on local backend") Signed-off-by: Bart Van Assche Cc: Philipp Reisner Cc: Lars Ellenberg ---