Skip to contentSkip to conversation

btrfs: scrub: remove unused nocow worker pointer

PATCH In review David Sterba 2 participants 2 messages Feb 12, 2019 – Feb 14, 2019 Btrfs file system

lore
Share & tools
lore

David Sterba

author maintainer
#0 lore raw

PATCH 1/1 btrfs: scrub: remove unused nocow worker pointer

The member btrfs_fs_info::scrub_nocow_workers is unused since the nocow optimization was removed from scrub in 9bebe665c3e4 ("btrfs: scrub:
Remove unused copy_nocow_pages and its callchain").

---
 fs/btrfs/ctree.h | 1 -
 1 file changed, 1 deletion(-)
fs/btrfs/ctree.h +0 -1
index 9306925b6790..7f3826ca7c91 100644
@@ -1078,7 +1078,6 @@ struct btrfs_fs_info {
 	int scrub_workers_refcnt;
 	struct btrfs_workqueue *scrub_workers;
 	struct btrfs_workqueue *scrub_wr_completion_workers;
-	struct btrfs_workqueue *scrub_nocow_workers;
 	struct btrfs_workqueue *scrub_parity_workers;
 
 #ifdef CONFIG_BTRFS_FS_CHECK_INTEGRITY
Signature · 1 line
2.20.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · David Sterba

The member btrfs_fs_info::scrub_nocow_workers is unused since the nocow optimization was removed from scrub in 9bebe665c3e4 ("btrfs: scrub:
Remove unused copy_nocow_pages and its callchain").

Quoted 17 lines
---
  fs/btrfs/ctree.h | 1 -
  1 file changed, 1 deletion(-)
fs/btrfs/ctree.h +0 -1
index 9306925b6790..7f3826ca7c91 100644
@@ -1078,7 +1078,6 @@ struct btrfs_fs_info {
  	int scrub_workers_refcnt;
  	struct btrfs_workqueue *scrub_workers;
  	struct btrfs_workqueue *scrub_wr_completion_workers;
-	struct btrfs_workqueue *scrub_nocow_workers;
  	struct btrfs_workqueue *scrub_parity_workers;
 
  #ifdef CONFIG_BTRFS_FS_CHECK_INTEGRITY