Driver porting: the BIO structure
Posted Jul 20, 2004 8:33 UTC (Tue) by
rf (guest, #20877)
Parent article:
Driver porting: the BIO structure
Any devices allow to transfer fixed amount of bytes per one request.
SATA allows only 100KB = 200 sectors to read/write from/to device per one request.
Can I change this value(), for example to 1M oder ....
maybe :
request_queue_t *q;
q = bdev_get_queue(bdev);
q->max_sectors = XXXXX;
I am unsafe .... ?
thanks...
(
Log in to post comments)