Re: [PATCH 7/7] block: Initialize BIO I/O priority early

2018-11-19 Thread Adam Manzanares
On Mon, 2018-11-19 at 12:51 +0900, Damien Le Moal wrote: > For the synchronous I/O path case (read(), write() etc system calls), > a > BIO I/O priority is not initialized until the execution of > blk_init_request_from_bio() when the BIO is submitted and a request > initialized for the BIO execution

Re: [PATCH 7/7] block: Initialize BIO I/O priority early

2018-11-19 Thread Christoph Hellwig
On Mon, Nov 19, 2018 at 12:51:31PM +0900, Damien Le Moal wrote: > For the synchronous I/O path case (read(), write() etc system calls), a > BIO I/O priority is not initialized until the execution of > blk_init_request_from_bio() when the BIO is submitted and a request > initialized for the BIO exec

[PATCH 7/7] block: Initialize BIO I/O priority early

2018-11-18 Thread Damien Le Moal
For the synchronous I/O path case (read(), write() etc system calls), a BIO I/O priority is not initialized until the execution of blk_init_request_from_bio() when the BIO is submitted and a request initialized for the BIO execution. This is due to the ki_ioprio field of the struct kiocb defined on