Thread (22 messages) 22 messages, 3 authors, 2010-09-03

Re: [PATCH] block: make sure FSEQ_DATA request has the same rq_disk as the original

flat view

From: Kiyoshi Ueda <hidden>
Date: 2010-09-03 11:53:36
Also in: linux-fsdevel, lkml

Hi Tejun,

On 09/03/2010 08:42 PM +0900, Tejun Heo wrote:
Hello,

On 09/03/2010 12:28 PM, Kiyoshi Ueda wrote:
quoted
Thank you for pointing it.
Yes, the interface should also set rq->q.

About the naming of the interface, blk_set_<something> sounds
reasonable to me.
But does blk_set_rq_q() take request and queue as arguments?
Then, I'm afraid we can't find bdev for bio from given queue.
Oh, right.  Maybe blk_set_rq_bdev() then?
Yeah, although struct request doesn't have the member 'bdev',
blk_set_rq_bdev() may be better from the view of the arguments.

Thanks,
Kiyoshi Ueda
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help