Re: [PATCH v2 03/15] ceph: add BLOG page-fragment allocator

Xiubo Li <[email protected]> Tue, 14 Jul 2026 11:51:41 +0800
Newsgroups org.kernel.vger.ceph-devel
Message-ID <CAOJNxR+n-496jNQFrOVv+X-nN2_-n-SnLpQ7TYc19-vkmLaqKg@mail.gmail.com>
On Mon, 6 Jul 2026 at 22:38, Alex Markuze <[email protected]> wrote:
>
> Add blog_pagefrag.c: lockless page-fragment buffer allocator for
> per-task BLOG contexts.
>
> Signed-off-by: Alex Markuze <[email protected]>
> ---
>  fs/ceph/blog_pagefrag.c | 95 +++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 95 insertions(+)
>  create mode 100644 fs/ceph/blog_pagefrag.c
>
> diff --git a/fs/ceph/blog_pagefrag.c b/fs/ceph/blog_pagefrag.c
> new file mode 100644
> index 000000000000..bae88ea82aec
> --- /dev/null
> +++ b/fs/ceph/blog_pagefrag.c
> @@ -0,0 +1,95 @@
> +// SPDX-License-Identifier: GPL-2.0
> +/*
> + * Binary Logging Page Fragment Management
> + */
> +
> +#include <linux/printk.h>
> +#include <linux/slab.h>
> +#include <linux/mm.h>
> +#include <linux/module.h>

This file is simple and it seems the three headers above are never used?

I removed them locally and the compile succeeded.


[......]