Re: [PATCH] block: clear all of bi_opf in bio_set_op_attrs
From: Christoph Hellwig <hch@lst.de>
Date: 2016-11-10 19:29:37
From: Christoph Hellwig <hch@lst.de>
Date: 2016-11-10 19:29:37
On Thu, Nov 10, 2016 at 08:31:11AM -0800, Bart Van Assche wrote:
Have you verified whether or not this change affects the behavior of the bcache driver? From commit ad0d9e76a412:
It doesn't, bcache only calls bch_data_verify from a read completion handler.
Additionally, since bio_set_op_attrs is a macro please surround 'op' and 'op_flags' with parentheses or change this macro into an inline function.
Makese sense, thanks.