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
[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 */
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
> +
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