diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-06-09 04:41:01 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-09-09 16:41:47 +0300 |
commit | 112d21fd1a122f778c383aa44d5448f4da9518c3 (patch) | |
tree | fd6a136cebf3f8bb4c8d72a381e8f06641a0bc12 /fs/bcachefs/fs-io-buffered.c | |
parent | 88d2ae0e6eb84e1ed58f339c6a0de16c24fa2a60 (diff) | |
download | linux-112d21fd1a122f778c383aa44d5448f4da9518c3.tar.xz |
bcachefs: switch to rhashtable for vfs inodes hash
the standard vfs inode hash table suffers from painful lock contention -
this is long overdue
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/fs-io-buffered.c')
-rw-r--r-- | fs/bcachefs/fs-io-buffered.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/fs-io-buffered.c b/fs/bcachefs/fs-io-buffered.c index ec8c427bf588..9fe1285908fa 100644 --- a/fs/bcachefs/fs-io-buffered.c +++ b/fs/bcachefs/fs-io-buffered.c @@ -486,7 +486,7 @@ static void bch2_writepage_io_alloc(struct bch_fs *c, op->nr_replicas = nr_replicas; op->res.nr_replicas = nr_replicas; op->write_point = writepoint_hashed(inode->ei_last_dirtied); - op->subvol = inode->ei_subvol; + op->subvol = inode->ei_inum.subvol; op->pos = POS(inode->v.i_ino, sector); op->end_io = bch2_writepage_io_done; op->devs_need_flush = &inode->ei_devs_need_flush; |