Re: Commit 'synchronize incompat feature bits with sysfs files' still missing in for-next?

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

 



On Tue, Sep 13, 2016 at 01:34:26PM +0200, Holger Hoffstätte wrote:
> 
> I've noticed that the 4.5-rc commit 14e46e04:
> 'btrfs: synchronize incompat feature bits with sysfs files' [1]
> was reverted later in [2], but despite fixes to protect sysfs
> with locks & exorcise GFP_NOFS in favor of GFP_KERNEL it was
> never reinstated - neither for 4.5-final, nor later..and it's
> been quite a while since then. Is this still valid?
> 
> I ask because I've just noticed I've had this in my tree since
> forever, but have never encountered a problem during balance -
> probably because of all the other fixes.

I spent sime time trying to fix it but got lost in sysfs. Supposedly,
the attribute group functions should provide all what's needed, ie.
define a set of attributes, visibility callback. Calling an update will,
in theory and my expectations, refresh the values and files. It does
not. IIRC it was never meant to work like that, so it would have to be
worked around or new sysfs helpers adde or I don't know what else.
Working with sysfs code is sometimes painful, but I'm about to return to
adding the free-space-tree bits someday.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux