Re: [PATCH] block: Minimize the number of requests in Direct I/O when bio get pages.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> +		request_max_size = queue_max_bytes(bdev_get_queue(bio->bi_bdev));

Besides all the coding style problems this is simply not how the bio
interface works.  queue_max_bytes is a limit only available to the
splitting routines and not to the upper layers submitting I/O.

Please try to debug your scenarious a little more - just because a bio
get split off it should not just turn into a request of it's own,
but be merged with the next bio due to the plug.  If that doesn't happen
we do have a problem somewhere.





[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux