Re: [PATCH v2 01/15] btrfs: add sysfs interface for supported sectorsize

2021-03-16 Thread David Sterba
On Tue, Mar 16, 2021 at 08:05:31AM +0800, Qu Wenruo wrote: > > In that case one file with the list of supported values is a better > > option. The main point is to have full RW support, until then it's > > interesting only for developers and they know what to expect. > > > > Indeed only full RW su

Re: [PATCH v2 01/15] btrfs: add sysfs interface for supported sectorsize

2021-03-16 Thread David Sterba
On Tue, Mar 16, 2021 at 08:10:13AM +0800, Anand Jain wrote: > > > On 16/03/2021 08:05, Qu Wenruo wrote: > > > > > > On 2021/3/16 上午2:44, David Sterba wrote: > >> On Mon, Mar 15, 2021 at 08:39:31PM +0800, Qu Wenruo wrote: > >>> > >>> > >>> On 2021/3/15 下午7:59, Anand Jain wrote: > On 10/03/2

Re: [PATCH v2 01/15] btrfs: add sysfs interface for supported sectorsize

2021-03-15 Thread Anand Jain
On 16/03/2021 08:05, Qu Wenruo wrote: On 2021/3/16 上午2:44, David Sterba wrote: On Mon, Mar 15, 2021 at 08:39:31PM +0800, Qu Wenruo wrote: On 2021/3/15 下午7:59, Anand Jain wrote: On 10/03/2021 17:08, Qu Wenruo wrote: Add extra sysfs interface features/supported_ro_sectorsize and features

Re: [PATCH v2 01/15] btrfs: add sysfs interface for supported sectorsize

2021-03-15 Thread Qu Wenruo
On 2021/3/16 上午2:44, David Sterba wrote: On Mon, Mar 15, 2021 at 08:39:31PM +0800, Qu Wenruo wrote: On 2021/3/15 下午7:59, Anand Jain wrote: On 10/03/2021 17:08, Qu Wenruo wrote: Add extra sysfs interface features/supported_ro_sectorsize and features/supported_rw_sectorsize to indicate subp

Re: [PATCH v2 01/15] btrfs: add sysfs interface for supported sectorsize

2021-03-15 Thread David Sterba
On Mon, Mar 15, 2021 at 08:39:31PM +0800, Qu Wenruo wrote: > > > On 2021/3/15 下午7:59, Anand Jain wrote: > > On 10/03/2021 17:08, Qu Wenruo wrote: > >> Add extra sysfs interface features/supported_ro_sectorsize and > >> features/supported_rw_sectorsize to indicate subpage support. > >> > >> Curren

Re: [PATCH v2 01/15] btrfs: add sysfs interface for supported sectorsize

2021-03-15 Thread Qu Wenruo
On 2021/3/15 下午7:59, Anand Jain wrote: On 10/03/2021 17:08, Qu Wenruo wrote: Add extra sysfs interface features/supported_ro_sectorsize and features/supported_rw_sectorsize to indicate subpage support. Currently for supported_rw_sectorsize all architectures only have their PAGE_SIZE listed.

Re: [PATCH v2 01/15] btrfs: add sysfs interface for supported sectorsize

2021-03-15 Thread Anand Jain
On 10/03/2021 17:08, Qu Wenruo wrote: Add extra sysfs interface features/supported_ro_sectorsize and features/supported_rw_sectorsize to indicate subpage support. Currently for supported_rw_sectorsize all architectures only have their PAGE_SIZE listed. While for supported_ro_sectorsize, for sys