Re: [RFC PATCH] lightnvm: expose configuration through sysfs

2016-05-06 Thread Matias Bjørling
On 05/06/2016 06:37 PM, Greg KH wrote: On Wed, Apr 27, 2016 at 09:26:39PM +0200, Matias Bjørling wrote: On 04/27/2016 09:00 PM, Greg KH wrote: On Wed, Apr 27, 2016 at 08:20:33PM +0200, Matias Bjørling wrote: On 04/27/2016 07:41 PM, Greg KH wrote: On Wed, Apr 27, 2016 at 10:18:57AM -0700,

Re: [RFC PATCH] lightnvm: expose configuration through sysfs

2016-05-06 Thread Matias Bjørling
On 05/06/2016 06:37 PM, Greg KH wrote: On Wed, Apr 27, 2016 at 09:26:39PM +0200, Matias Bjørling wrote: On 04/27/2016 09:00 PM, Greg KH wrote: On Wed, Apr 27, 2016 at 08:20:33PM +0200, Matias Bjørling wrote: On 04/27/2016 07:41 PM, Greg KH wrote: On Wed, Apr 27, 2016 at 10:18:57AM -0700,

Re: [RFC PATCH] lightnvm: expose configuration through sysfs

2016-05-06 Thread Greg KH
On Wed, Apr 27, 2016 at 09:26:39PM +0200, Matias Bjørling wrote: > On 04/27/2016 09:00 PM, Greg KH wrote: > > On Wed, Apr 27, 2016 at 08:20:33PM +0200, Matias Bjørling wrote: > > > > > > > > > On 04/27/2016 07:41 PM, Greg KH wrote: > > > > On Wed, Apr 27, 2016 at 10:18:57AM -0700, Simon A. F.

Re: [RFC PATCH] lightnvm: expose configuration through sysfs

2016-05-06 Thread Greg KH
On Wed, Apr 27, 2016 at 09:26:39PM +0200, Matias Bjørling wrote: > On 04/27/2016 09:00 PM, Greg KH wrote: > > On Wed, Apr 27, 2016 at 08:20:33PM +0200, Matias Bjørling wrote: > > > > > > > > > On 04/27/2016 07:41 PM, Greg KH wrote: > > > > On Wed, Apr 27, 2016 at 10:18:57AM -0700, Simon A. F.

Re: [RFC PATCH] lightnvm: expose configuration through sysfs

2016-04-27 Thread Matias Bjørling
On 04/27/2016 09:00 PM, Greg KH wrote: On Wed, Apr 27, 2016 at 08:20:33PM +0200, Matias Bjørling wrote: On 04/27/2016 07:41 PM, Greg KH wrote: On Wed, Apr 27, 2016 at 10:18:57AM -0700, Simon A. F. Lund wrote: --- a/include/linux/lightnvm.h +++ b/include/linux/lightnvm.h @@ -174,6 +174,7 @@

Re: [RFC PATCH] lightnvm: expose configuration through sysfs

2016-04-27 Thread Matias Bjørling
On 04/27/2016 09:00 PM, Greg KH wrote: On Wed, Apr 27, 2016 at 08:20:33PM +0200, Matias Bjørling wrote: On 04/27/2016 07:41 PM, Greg KH wrote: On Wed, Apr 27, 2016 at 10:18:57AM -0700, Simon A. F. Lund wrote: --- a/include/linux/lightnvm.h +++ b/include/linux/lightnvm.h @@ -174,6 +174,7 @@

Re: [RFC PATCH] lightnvm: expose configuration through sysfs

2016-04-27 Thread Greg KH
On Wed, Apr 27, 2016 at 08:20:33PM +0200, Matias Bjørling wrote: > > > On 04/27/2016 07:41 PM, Greg KH wrote: > > On Wed, Apr 27, 2016 at 10:18:57AM -0700, Simon A. F. Lund wrote: > > > --- a/include/linux/lightnvm.h > > > +++ b/include/linux/lightnvm.h > > > @@ -174,6 +174,7 @@ struct

Re: [RFC PATCH] lightnvm: expose configuration through sysfs

2016-04-27 Thread Greg KH
On Wed, Apr 27, 2016 at 08:20:33PM +0200, Matias Bjørling wrote: > > > On 04/27/2016 07:41 PM, Greg KH wrote: > > On Wed, Apr 27, 2016 at 10:18:57AM -0700, Simon A. F. Lund wrote: > > > --- a/include/linux/lightnvm.h > > > +++ b/include/linux/lightnvm.h > > > @@ -174,6 +174,7 @@ struct

Re: [RFC PATCH] lightnvm: expose configuration through sysfs

2016-04-27 Thread Matias Bjørling
On 04/27/2016 07:41 PM, Greg KH wrote: On Wed, Apr 27, 2016 at 10:18:57AM -0700, Simon A. F. Lund wrote: --- a/include/linux/lightnvm.h +++ b/include/linux/lightnvm.h @@ -174,6 +174,7 @@ struct nvm_id_group { u16 cpar; struct nvm_id_lp_tbl lptbl; + struct kobject

Re: [RFC PATCH] lightnvm: expose configuration through sysfs

2016-04-27 Thread Matias Bjørling
On 04/27/2016 07:41 PM, Greg KH wrote: On Wed, Apr 27, 2016 at 10:18:57AM -0700, Simon A. F. Lund wrote: --- a/include/linux/lightnvm.h +++ b/include/linux/lightnvm.h @@ -174,6 +174,7 @@ struct nvm_id_group { u16 cpar; struct nvm_id_lp_tbl lptbl; + struct kobject

[RFC PATCH] lightnvm: expose configuration through sysfs

2016-04-27 Thread Simon A. F. Lund
An open-channel SSD exposes its geometry to the host. Allowing the host to know the boundaries of the LUNs, flash blocks, and flags pages, enabling the host to write to its physical media. The configuration information is kept within the kernel, and not exported to user-space for consumption.

[RFC PATCH] lightnvm: expose configuration through sysfs

2016-04-27 Thread Simon A. F. Lund
An open-channel SSD exposes its geometry to the host. Allowing the host to know the boundaries of the LUNs, flash blocks, and flags pages, enabling the host to write to its physical media. The configuration information is kept within the kernel, and not exported to user-space for consumption.

Re: [RFC PATCH] lightnvm: expose configuration through sysfs

2016-04-27 Thread Greg KH
On Wed, Apr 27, 2016 at 10:18:57AM -0700, Simon A. F. Lund wrote: > --- a/include/linux/lightnvm.h > +++ b/include/linux/lightnvm.h > @@ -174,6 +174,7 @@ struct nvm_id_group { > u16 cpar; > > struct nvm_id_lp_tbl lptbl; > + struct kobject kobj; > }; > > struct

Re: [RFC PATCH] lightnvm: expose configuration through sysfs

2016-04-27 Thread Greg KH
On Wed, Apr 27, 2016 at 10:18:57AM -0700, Simon A. F. Lund wrote: > --- a/include/linux/lightnvm.h > +++ b/include/linux/lightnvm.h > @@ -174,6 +174,7 @@ struct nvm_id_group { > u16 cpar; > > struct nvm_id_lp_tbl lptbl; > + struct kobject kobj; > }; > > struct

[RFC PATCH] lightnvm: expose configuration through sysfs

2016-04-27 Thread Simon A. F. Lund
Hi, Follow up on preparation patches, here is a patch exporting hardware attributes of open-channel SSDs and LightNVM configuration to user-space through sysfs. Thanks, Simon A. F. Lund (1): lightnvm: expose configuration through sysfs Documentation/ABI/testing/sysfs-lightnvm | 244

[RFC PATCH] lightnvm: expose configuration through sysfs

2016-04-27 Thread Simon A. F. Lund
Hi, Follow up on preparation patches, here is a patch exporting hardware attributes of open-channel SSDs and LightNVM configuration to user-space through sysfs. Thanks, Simon A. F. Lund (1): lightnvm: expose configuration through sysfs Documentation/ABI/testing/sysfs-lightnvm | 244