[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <160b9e99-bff6-e37c-5f16-00157766535e@linux.alibaba.com>
Date: Fri, 3 Feb 2023 17:49:33 +0800
From: Jingbo Xu <jefflexu@...ux.alibaba.com>
To: Christoph Hellwig <hch@....de>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Daniel Vetter <daniel@...ll.ch>, Nadav Amit <namit@...are.com>,
"VMware, Inc." <pv-drivers@...are.com>,
"Michael S. Tsirkin" <mst@...hat.com>,
David Hildenbrand <david@...hat.com>,
Minchan Kim <minchan@...nel.org>,
Nitin Gupta <ngupta@...are.org>,
Jason Gunthorpe <jgg@...dia.com>,
Alex Williamson <alex.williamson@...hat.com>,
linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
dri-devel@...ts.freedesktop.org,
virtualization@...ts.linux-foundation.org,
linux-fsdevel@...r.kernel.org, linux-mm@...ck.org,
Al Viro <viro@...iv.linux.org.uk>
Subject: Re: make alloc_anon_inode more useful
Hi,
Sorry for digging...
This patch series seems useful for fs developers. I'm not sure its
current status and why it doesn't get merged.
On 3/9/21 11:53 PM, Christoph Hellwig wrote:
> Hi all,
>
> this series first renames the existing alloc_anon_inode to
> alloc_anon_inode_sb to clearly mark it as requiring a superblock.
>
> It then adds a new alloc_anon_inode that works on the anon_inode
> file system super block, thus removing tons of boilerplate code.
>
> The few remainig callers of alloc_anon_inode_sb all use alloc_file_pseudo
> later, but might also be ripe for some cleanup.
>
> Diffstat:
> arch/powerpc/platforms/pseries/cmm.c | 27 +-------------
> drivers/dma-buf/dma-buf.c | 2 -
> drivers/gpu/drm/drm_drv.c | 64 +----------------------------------
> drivers/misc/cxl/api.c | 2 -
> drivers/misc/vmw_balloon.c | 24 +------------
> drivers/scsi/cxlflash/ocxl_hw.c | 2 -
> drivers/virtio/virtio_balloon.c | 30 +---------------
> fs/aio.c | 2 -
> fs/anon_inodes.c | 15 +++++++-
> fs/libfs.c | 2 -
> include/linux/anon_inodes.h | 1
> include/linux/fs.h | 2 -
> kernel/resource.c | 30 ++--------------
> mm/z3fold.c | 38 +-------------------
> mm/zsmalloc.c | 48 +-------------------------
> 15 files changed, 39 insertions(+), 250 deletions(-)
>
--
Thanks,
Jingbo
Powered by blists - more mailing lists