|
|
Log in / Subscribe / Register

Block layer request queue API changes

Block layer request queue API changes

Posted Jul 25, 2013 8:19 UTC (Thu) by aditya1309 (guest, #91905)
In reply to: Block layer request queue API changes by aditya1309
Parent article: Block layer request queue API changes

Is this code correct instead of previous one ?

while ((!blk_queue_stopped(q)) && (req = blk_peek_request(q)) != NULL){
if (req->cmd_type != REQ_TYPE_FS){
printk (KERN_NOTICE "Skip non-fs request\n") ;
blk_start_request(req)
__blk_end_request_all(req, -EIO);
continue;
}


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds