[lvm-devel] master - dev-io: open device read-only to obtain readahead value

Peter Rajnoha prajnoha at redhat.com
Mon Jun 25 10:39:39 UTC 2012


On 06/25/2012 12:27 PM, Zdenek Kabelac wrote:
> Dne 25.6.2012 11:56, Peter Rajnoha napsal(a):
>>
>> dev-io: open device read-only to obtain readahead value
>>
> Which should be further fixed to use sysfs improved libdm method.
> 

Indeed. Though the libdm fn needs refactoring then to take all
block devs, not just DM ones as current dm_task_get_read_ahead
is bound to a "DM task"... a new fn would be required in libdm
to do that as a matter of fact.

Peter




More information about the lvm-devel mailing list