[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230203150634.3199647-1-hch@lst.de>
Date: Fri, 3 Feb 2023 16:06:11 +0100
From: Christoph Hellwig <hch@....de>
To: Jens Axboe <axboe@...nel.dk>
Cc: Ilya Dryomov <idryomov@...il.com>,
"Michael S. Tsirkin" <mst@...hat.com>,
Jason Wang <jasowang@...hat.com>,
Minchan Kim <minchan@...nel.org>,
Sergey Senozhatsky <senozhatsky@...omium.org>,
Keith Busch <kbusch@...nel.org>,
Sagi Grimberg <sagi@...mberg.me>,
Chaitanya Kulkarni <kch@...dia.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
David Howells <dhowells@...hat.com>,
Marc Dionne <marc.dionne@...istor.com>,
Xiubo Li <xiubli@...hat.com>, Steve French <sfrench@...ba.org>,
Trond Myklebust <trond.myklebust@...merspace.com>,
Anna Schumaker <anna@...nel.org>,
Mike Marshall <hubcap@...ibond.com>,
Andrew Morton <akpm@...ux-foundation.org>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
Chuck Lever <chuck.lever@...cle.com>,
linux-block@...r.kernel.org, ceph-devel@...r.kernel.org,
virtualization@...ts.linux-foundation.org,
linux-nvme@...ts.infradead.org, linux-scsi@...r.kernel.org,
target-devel@...r.kernel.org, kvm@...r.kernel.org,
netdev@...r.kernel.org, linux-afs@...ts.infradead.org,
linux-cifs@...r.kernel.org, samba-technical@...ts.samba.org,
linux-fsdevel@...r.kernel.org, linux-nfs@...r.kernel.org,
devel@...ts.orangefs.org, io-uring@...r.kernel.org,
linux-mm@...ck.org
Subject: add bvec initialization helpers v2
Hi all,
this series adds the helpers to initalize a bvec. These remove open coding of
bvec internals and help with experimenting with other representations like
a phys_addr_t instead of page + offset.
Changes since v1:
- fix a typo
- simplify the code in ceph's __iter_get_bvecs a little bit further
- fix two subject prefixes
Diffstat:
block/bio-integrity.c | 7 ------
block/bio.c | 12 +----------
drivers/block/rbd.c | 7 ++----
drivers/block/virtio_blk.c | 4 ---
drivers/block/zram/zram_drv.c | 15 +++-----------
drivers/nvme/host/core.c | 4 ---
drivers/nvme/target/io-cmd-file.c | 10 +--------
drivers/nvme/target/tcp.c | 5 +---
drivers/scsi/sd.c | 36 ++++++++++++++++------------------
drivers/target/target_core_file.c | 18 +++++------------
drivers/vhost/vringh.c | 5 +---
fs/afs/write.c | 8 ++-----
fs/ceph/file.c | 12 +++--------
fs/cifs/connect.c | 5 ++--
fs/cifs/fscache.c | 16 +++++----------
fs/cifs/misc.c | 5 +---
fs/cifs/smb2ops.c | 6 ++---
fs/coredump.c | 7 +-----
fs/nfs/fscache.c | 16 +++++----------
fs/orangefs/inode.c | 22 ++++++--------------
fs/splice.c | 5 +---
include/linux/bvec.h | 40 ++++++++++++++++++++++++++++++++++++++
io_uring/rsrc.c | 4 ---
mm/page_io.c | 8 +------
net/ceph/messenger_v1.c | 7 +-----
net/ceph/messenger_v2.c | 28 ++++++++++----------------
net/rxrpc/rxperf.c | 8 ++-----
net/sunrpc/svcsock.c | 7 +-----
net/sunrpc/xdr.c | 5 +---
29 files changed, 142 insertions(+), 190 deletions(-)
Powered by blists - more mailing lists