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