On 5/4/23 22:53, Christoph Hellwig wrote:
On Wed, May 03, 2023 at 03:52:01PM -0700, Bart Van Assche wrote:+bool blk_rq_is_seq_zoned_write(struct request *rq) +{ + return op_is_zoned_write(req_op(rq)) && blk_rq_zone_is_seq(rq); +} +EXPORT_SYMBOL_GPL(blk_rq_is_seq_zoned_write);Would it make more sense to just inline this function?
Hi Christoph, I will declare this function as inline and move it into include/linux/blk-mq.h. Thanks, Bart.