Re: [RFC v2 14/83] Add range node kmem cache.

2018-03-11 Thread Nikolay Borisov
On 10.03.2018 20:17, Andiry Xu wrote: > From: Andiry Xu > > Range node specifies a range of [start, end]. and is managed by a red-black > tree. > NOVA uses range node to manage NVM allocator and inodes being used. > > Signed-off-by: Andiry Xu > --- > fs/nova/nova.h | 8 > fs/nova

Re: [RFC v2 05/83] Add NOVA filesystem definitions and useful helper routines.

2018-03-11 Thread Nikolay Borisov
[Adding Herbert Xu to CC since he is the maintainer of the crypto subsys maintainer] On 10.03.2018 20:17, Andiry Xu wrote: > +static inline u32 nova_crc32c(u32 crc, const u8 *data, size_t len) > +{ > + u8 *ptr = (u8 *) data; > + u64 acc = crc; /* accumulator, crc32c value in lower 32b */

Re: [RFC v2 16/83] Initialize block map and free lists in nova_init().

2018-03-11 Thread Nikolay Borisov
On 10.03.2018 20:17, Andiry Xu wrote: > From: Andiry Xu > > NOVA divides the pmem range equally among per-CPU free lists, > and format the red-black trees by inserting the initial free range. > > Signed-off-by: Andiry Xu > --- > fs/nova/balloc.c | 161 > +

Re: [RFC v2 09/83] Add Kconfig and Makefile

2018-03-11 Thread Nikolay Borisov
On 10.03.2018 20:17, Andiry Xu wrote: > From: Andiry Xu > > Signed-off-by: Andiry Xu > --- > fs/Kconfig | 2 ++ > fs/Makefile | 1 + > fs/nova/Kconfig | 15 +++ > fs/nova/Makefile | 7 +++ > 4 files changed, 25 insertions(+) > create mode 100644 fs/nova/Kconfig