Re: [PATCH RFC 5/6] btrfs: sysfs: Add directory for read policies

2021-02-15 Thread Greg KH
On Mon, Feb 15, 2021 at 02:35:35PM +, Michal Rostecki wrote: > On Sat, Feb 13, 2021 at 11:19:28AM +0100, Greg KH wrote: > > On Tue, Feb 09, 2021 at 09:30:39PM +0100, Michal Rostecki wrote: > > > From: Michal Rostecki > > > > > > Before this change, raid1 read policy could be selected by using

Re: [PATCH RFC 5/6] btrfs: sysfs: Add directory for read policies

2021-02-15 Thread Michal Rostecki
On Sat, Feb 13, 2021 at 11:19:28AM +0100, Greg KH wrote: > On Tue, Feb 09, 2021 at 09:30:39PM +0100, Michal Rostecki wrote: > > From: Michal Rostecki > > > > Before this change, raid1 read policy could be selected by using the > > /sys/fs/btrfs/[fsid]/read_policy file. > > > > Change it to /sys/

Re: [PATCH RFC 5/6] btrfs: sysfs: Add directory for read policies

2021-02-13 Thread Greg KH
On Tue, Feb 09, 2021 at 09:30:39PM +0100, Michal Rostecki wrote: > From: Michal Rostecki > > Before this change, raid1 read policy could be selected by using the > /sys/fs/btrfs/[fsid]/read_policy file. > > Change it to /sys/fs/btrfs/[fsid]/read_policies/policy. > > The motivation behing creati