fs/netfs: remove unused flag NETFS_SREQ_SEEK_DATA_READ
Subsystems (2)
PATCH 1/1 fs/netfs: remove unused flag NETFS_SREQ_SEEK_DATA_READ
This flag was added by commit 3d3c95046742 ("netfs: Provide readahead and readpage netfs helpers") but its only user was removed by commit 86b374d061ee ("netfs: Remove fs/netfs/io.c").
Signed-off-by Max Kellermann <[email protected]>
--- Documentation/filesystems/netfs_library.rst | 5 ----- include/linux/netfs.h | 1 - 2 files changed, 6 deletions(-)
Documentation/filesystems/netfs_library.rst +0 -5
@@ -275,11 +275,6 @@ handle falling back from one source type to another. The members are: This can be set to indicate that the remainder of the slice, from transferred to len, should be cleared. - * ``NETFS_SREQ_SEEK_DATA_READ`` - - This is a hint to the cache that it might want to try skipping ahead to - the next data (ie. using SEEK_DATA). - * ``debug_index`` A number allocated to this slice that can be displayed in trace lines for
include/linux/netfs.h +0 -1
@@ -191,7 +191,6 @@ struct netfs_io_subrequest {unsigned long flags;#define NETFS_SREQ_COPY_TO_CACHE 0/* Set if should copy the data to the cache */ #define NETFS_SREQ_CLEAR_TAIL 1/* Set if the rest of the read should be cleared */ -#define NETFS_SREQ_SEEK_DATA_READ 3/* Set if ->read() should SEEK_DATA first */ #define NETFS_SREQ_MADE_PROGRESS 4/* Set if we transferred at least some data */ #define NETFS_SREQ_ONDEMAND 5/* Set if it's from on-demand read mode */ #define NETFS_SREQ_BOUNDARY 6/* Set if ends on hard boundary (eg. ceph object) */
Signature · 1 line
2.47.2