diff options
author | Filipe Manana | 2021-12-02 10:30:40 +0000 |
---|---|---|
committer | David Sterba | 2022-01-07 14:18:23 +0100 |
commit | 727e60604f6a61b8e4330e8fe63a8cf0a067d29d (patch) | |
tree | 370e55ef352eb3aaf2f38ad8a36cc904c30ccff0 /fs | |
parent | bb8e9a608055e016aace6db269432ba52a57dcc1 (diff) |
btrfs: remove stale comment about locking at btrfs_search_slot()
The comment refers to the old extent buffer locking code, where we used to
have custom locks that had blocking and spinning behaviour modes. That is
not the case anymore, since we have transitioned to rw semaphores, so the
comment does not offer any value anymore. Remove it.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/btrfs/ctree.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c index 36fc76678e30..defc494a2d08 100644 --- a/fs/btrfs/ctree.c +++ b/fs/btrfs/ctree.c @@ -1964,10 +1964,6 @@ again: } cow_done: p->nodes[level] = b; - /* - * Leave path with blocking locks to avoid massive - * lock context switch, this is made on purpose. - */ /* * we have a lock on b and as long as we aren't changing |