Re: [PATCH] libmultipath/discovery: read sysfs files uncached

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

 



On 04/04/2013 12:00 PM, Kay Sievers wrote:
> On Thu, Apr 4, 2013 at 8:43 AM, Hannes Reinecke <hare@xxxxxxx> wrote:
>>>> Unfortunately, libudev doesn't provide an uncached variant. This
>>>> is why we have to reimplement the functionality and some libudev
>>>> internal functions here.
> 
> Hannes,
> 
> didn't you intend to use udev_device_set_sysattr_value(..., attribute,
> NULL); to clear the cached value?
> 

Yes, it should. Question remains, though, what happens to the actual
sysfs attribute.
Does it remain unchained? Will it be set to '0'?

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		      zSeries & Storage
hare@xxxxxxx			      +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel





[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux