SEARCH  

NEWS

2010.10.06:11:36:28
Najpopularniejsze domeny dla Twojej firmy w nazwa.pl (reklama)
Myślisz o zdobyciu zagranicznych rynków? Chcesz mieć adresy WWW w najbardziej rozpoznawalnych domenach? A może chciałbyś zabezpieczyć swoją markę przed wykorzystaniem jej przez kogoś innego? Powinieneś więc rozważyć rejestrację firmowych adresów WWW zawierających najpopularniejsze rozszerzenia używane na świecie.

 

messageID:526260007213
author:Tejun Heo
title:Re PATCH block make sure FSEQ DATA reques
Hi Tejun, On 09/03/2010 06:33 PM +0900, Tejun Heo wrote: On 09/03/2010 07:47 AM, Kiyoshi Ueda wrote: By the way, I had been considering a block-layer interface which remaps struct request and its bios to a block device such as: void blk_remap_request(struct request *rq, struct block_device *bdev) { rq- rq_disk = bdev- bd_disk; __rq_for_each_bio(bio, rq) { bio- bi_bdev = bdev- bd_disk; } } If there is such an interface and remapping drivers use it, then these kind of issues may be avoided in the future. I think the problem is more with request initialization. After all, once bios are packed into a request, they are (or at least should be) just data containers. We now have multiple request init paths in block layer and different ones initialize different subsets and its not very clear which fields are supposed to be initialized to what by whom. But yeah I agree removing discrepancy between request and bio would be nice to have too. Its not really remapping tho. Maybe just blk_set_rq_q() or something like that (it should also set rq- q)? 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, Im afraid we cant find bdev for bio from given queue. Thanks, Kiyoshi Ueda -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at rel="nofollow" vger.kernel.org/majordomo-info.html vger.kernel.org/majordomo-info.html
Index