netfs: Rename netfs_read_*request to netfs_io_*request
authorDavid Howells <dhowells@redhat.com>
Thu, 17 Feb 2022 10:01:23 +0000 (10:01 +0000)
committerDavid Howells <dhowells@redhat.com>
Fri, 18 Mar 2022 09:24:00 +0000 (09:24 +0000)
commit6a19114b8e7f1e24d80b0812e26d78d7ae1ec6dd
tree0cb1fab2d4a5dd3ff430c7435078fe4da2895794
parent5ac417d24c6cc2fa9ac69d8b9f4510a38ec40486
netfs: Rename netfs_read_*request to netfs_io_*request

Rename netfs_read_*request to netfs_io_*request so that the same structures
can be used for the write helpers too.

perl -p -i -e 's/netfs_read_(request|subrequest)/netfs_io_$1/g' \
   `git grep -l 'netfs_read_\(sub\|\)request'`
perl -p -i -e 's/nr_rd_ops/nr_outstanding/g' \
   `git grep -l nr_rd_ops`
perl -p -i -e 's/nr_wr_ops/nr_copy_ops/g' \
   `git grep -l nr_wr_ops`
perl -p -i -e 's/netfs_read_source/netfs_io_source/g' \
   `git grep -l 'netfs_read_source'`
perl -p -i -e 's/netfs_io_request_ops/netfs_request_ops/g' \
   `git grep -l 'netfs_io_request_ops'`
perl -p -i -e 's/init_rreq/init_request/g' \
   `git grep -l 'init_rreq'`

Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
cc: linux-cachefs@redhat.com

Link: https://lore.kernel.org/r/164622988070.3564931.7089670190434315183.stgit@warthog.procyon.org.uk/
Link: https://lore.kernel.org/r/164678195157.1200972.366609966927368090.stgit@warthog.procyon.org.uk/
Link: https://lore.kernel.org/r/164692891535.2099075.18435198075367420588.stgit@warthog.procyon.org.uk/
Documentation/filesystems/netfs_library.rst
fs/9p/vfs_addr.c
fs/afs/file.c
fs/afs/internal.h
fs/cachefiles/io.c
fs/ceph/addr.c
fs/ceph/cache.h
fs/netfs/read_helper.c
include/linux/netfs.h
include/trace/events/cachefiles.h
include/trace/events/netfs.h