Re: [RFC PATCH 4/4] btrfs: sysfs: export supported checksums

2019-08-21 Thread David Sterba
On Wed, Aug 07, 2019 at 04:10:05PM +0200, Johannes Thumshirn wrote: > On Tue, Jul 30, 2019 at 07:19:04PM +0200, David Sterba wrote: > > On Thu, Jul 25, 2019 at 11:33:51AM +0200, Johannes Thumshirn wrote: > > > From: David Sterba > > > > > > Export supported checksum algorithms via sysfs. > > > >

Re: [RFC PATCH 4/4] btrfs: sysfs: export supported checksums

2019-08-19 Thread Johannes Thumshirn
On Mon, Aug 12, 2019 at 12:19:13PM +0300, Nikolay Borisov wrote: > > +static struct btrfs_feature_attr btrfs_attr_features_checksums_name = { > > + .kobj_attr = __INIT_KOBJ_ATTR(checksums, S_IRUGO, > > + btrfs_checksums_show, > > + b

Re: [RFC PATCH 4/4] btrfs: sysfs: export supported checksums

2019-08-12 Thread Nikolay Borisov
On 25.07.19 г. 12:33 ч., Johannes Thumshirn wrote: > From: David Sterba > > Export supported checksum algorithms via sysfs. > > Signed-off-by: David Sterba > Signed-off-by: Johannes Thumshirn > --- > fs/btrfs/sysfs.c | 35 +++ > 1 file changed, 35 insertions

Re: [RFC PATCH 4/4] btrfs: sysfs: export supported checksums

2019-08-07 Thread Johannes Thumshirn
On Tue, Jul 30, 2019 at 07:19:04PM +0200, David Sterba wrote: > On Thu, Jul 25, 2019 at 11:33:51AM +0200, Johannes Thumshirn wrote: > > From: David Sterba > > > > Export supported checksum algorithms via sysfs. > > I wonder if we should also export the implementation that would be used. > This c

Re: [RFC PATCH 4/4] btrfs: sysfs: export supported checksums

2019-07-31 Thread Johannes Thumshirn
On Tue, Jul 30, 2019 at 07:19:04PM +0200, David Sterba wrote: > On Thu, Jul 25, 2019 at 11:33:51AM +0200, Johannes Thumshirn wrote: > > From: David Sterba > > > > Export supported checksum algorithms via sysfs. > > I wonder if we should also export the implementation that would be used. > This c

Re: [RFC PATCH 4/4] btrfs: sysfs: export supported checksums

2019-07-30 Thread David Sterba
On Thu, Jul 25, 2019 at 11:33:51AM +0200, Johannes Thumshirn wrote: > From: David Sterba > > Export supported checksum algorithms via sysfs. I wonder if we should also export the implementation that would be used. This could be crross referenced with /proc/crypto, but having it in one place woul