Skip to contentSkip to conversation

xfs: remove the unused bv field in struct xfs_gc_bio

PATCH Superseded Christoph Hellwig 3 participants 3 messages Aug 25, 2025 XFS filesystem

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xfs: remove the unused bv field in struct xfs_gc_bio

---
 fs/xfs/xfs_zone_gc.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
fs/xfs/xfs_zone_gc.c +1 -2
index 064cd1a857a0..d2d8fe547074 100644
@@ -114,8 +114,7 @@ struct xfs_gc_bio {
 	/* Open Zone being written to */
 	struct xfs_open_zone		*oz;
 
-	/* Bio used for reads and writes, including the bvec used by it */
-	struct bio_vec			bv;
+	/* Bio used for reads and writes */
 	struct bio			bio;	/* must be last */
 };
 
Signature · 1 line
2.47.2
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 10 lines · Christoph Hellwig
---
 fs/xfs/xfs_zone_gc.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
fs/xfs/xfs_zone_gc.c +0 -0
index 064cd1a857a0..d2d8fe547074 100644

fs/xfs/xfs_zone_gc.c struct xfs_gc_bio { · line 119

Quoted 8 lines
fs/xfs/xfs_zone_gc.c +1 -2
@@ -114,8 +114,7 @@ struct xfs_gc_bio {
 	/* Open Zone being written to */
 	struct xfs_open_zone		*oz;
 
-	/* Bio used for reads and writes, including the bvec used by it */
-	struct bio_vec			bv;
+	/* Bio used for reads and writes */
 	struct bio			bio;	/* must be last */
 };
Quoted 4 lines
fs/xfs/xfs_zone_gc.c +0 -1
--

2.47.2

Reviewed-by on v1 1/1
#2 lore raw
In reply to Christoph Hellwig
Quoted 10 lines · Christoph Hellwig
---
 fs/xfs/xfs_zone_gc.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
fs/xfs/xfs_zone_gc.c +0 -0
index 064cd1a857a0..d2d8fe547074 100644

fs/xfs/xfs_zone_gc.c struct xfs_gc_bio { · line 120

Quoted 9 lines
fs/xfs/xfs_zone_gc.c +1 -2
@@ -114,8 +114,7 @@ struct xfs_gc_bio {
 	/* Open Zone being written to */
 	struct xfs_open_zone		*oz;
 
-	/* Bio used for reads and writes, including the bvec used by it */
-	struct bio_vec			bv;
+	/* Bio used for reads and writes */
 	struct bio			bio;	/* must be last */
 };
 

Looks good,