* [PATCH] btrfs: remove stale reada_lock from device
@ 2018-01-12 14:25 David Sterba
0 siblings, 0 replies; only message in thread
From: David Sterba @ 2018-01-12 14:25 UTC (permalink / raw)
To: linux-btrfs; +Cc: David Sterba
We the global readahead lock in fs_info, the per-device has been unused
since the initial commit 90519d66abbccc ("btrfs: state information for
readahead").
Reported-by: Matthew Wilcox <mawilcox@microsoft.com>
Signed-off-by: David Sterba <dsterba@suse.com>
---
fs/btrfs/volumes.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/fs/btrfs/volumes.h b/fs/btrfs/volumes.h
index 15216fed918b..28c28eeadff3 100644
--- a/fs/btrfs/volumes.h
+++ b/fs/btrfs/volumes.h
@@ -137,7 +137,6 @@ struct btrfs_device {
struct rcu_head rcu;
/* readahead state */
- spinlock_t reada_lock;
atomic_t reada_in_flight;
u64 reada_next;
struct reada_zone *reada_curr_zone;
--
2.15.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-01-12 14:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-12 14:25 [PATCH] btrfs: remove stale reada_lock from device David Sterba
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).