Re: [PATCH 0/4] btrfs, sysfs cleanup and add dev_state

Anand Jain
2019-12-09T22:49:01Z

On 12/5/19 7:27 PM, Anand Jain wrote:
> Patch 1/4 is a cleanup patch.
> Patch 2/4 adds the kobject devinfo which is a preparatory to patch 4/4.
> Patch 3/4 was sent before, no functional changes, change log is updated.
> Patch 4/4 creates the attribute dev_state.
>
> Anand Jain (4):
> btrfs: sysfs, use btrfs_sysfs_remove_fsid in fail return in add_fsid
> btrfs: sysfs, add UUID/devinfo kobject
> btrfs: sysfs, rename device_link add,remove functions
> btrfs: sysfs, add devid/dev_state kobject and attribute

David,

Is there a chance that partly/fully this could get into 5.5-rc3?
1,3 are cleanups and 2,4 are feature add.

Thanks, Anand

> fs/btrfs/dev-replace.c | 4 +-
> fs/btrfs/sysfs.c | 130 +++++++++++++++++++++++++++++++----------
> fs/btrfs/sysfs.h | 4 +-
> fs/btrfs/volumes.c | 8 +--
> fs/btrfs/volumes.h | 3 +
> 5 files changed, 111 insertions(+), 38 deletions(-)
>