Skip to contentSkip to conversation

writeback: fix comment in __mark_inode_dirty

PATCH In review Wang Long 2 participants 3 messages Dec 5, 2017 – Dec 6, 2017 VFS

lore
Share & tools
lore

Wang Long

author
#0 lore raw

PATCH 1/1 writeback: fix comment in __mark_inode_dirty

---
 fs/fs-writeback.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/fs-writeback.c +1 -1
index cea4836..8d477cf 100644
@@ -2209,7 +2209,7 @@ void __mark_inode_dirty(struct inode *inode, int flags)
 			trace_writeback_dirty_inode_enqueue(inode);
 
 			/*
-			 * If this is the first dirty inode for this bdi,
+			 * If this is the first dirty inode for this wb,
 			 * we have to wake-up the corresponding bdi thread
 			 * to make sure background write-back happens
 			 * later.
Signature · 1 line
1.8.3.1
Acked-by on v1 1/1
#1 lore raw

Hello, Wang.

Quoted 10 lines · Wang Long
---
 fs/fs-writeback.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/fs-writeback.c +0 -0
index cea4836..8d477cf 100644

fs/fs-writeback.c void __mark_inode_dirty(struct inode *inode, int flags) · line 2212

Quoted 5 lines
fs/fs-writeback.c +1 -1
@@ -2209,7 +2209,7 @@ void __mark_inode_dirty(struct inode *inode, int flags)
 			trace_writeback_dirty_inode_enqueue(inode);
 
 			/*
-			 * If this is the first dirty inode for this bdi,
+			 * If this is the first dirty inode for this wb,

This probably should go through the block tree tho. Please cc Jens Axboe.

Thanks.

Signature · 1 line
tejun
author
#2 lore raw
Cc Jens Axboe
Quoted 30 lines · On 5 Dec 2017, at 11:48 PM, [email protected] wrote:

Hello, Wang.

Quoted 10 lines · Wang Long

---
fs/fs-writeback.c | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
fs/fs-writeback.c +0 -0
index cea4836..8d477cf 100644

fs/fs-writeback.c void __mark_inode_dirty(struct inode *inode, int flags) · line 2212

Quoted 5 lines
fs/fs-writeback.c +1 -1
@@ -2209,7 +2209,7 @@ void __mark_inode_dirty(struct inode *inode, int flags)
 			trace_writeback_dirty_inode_enqueue(inode);
 
 			/*
-			 * If this is the first dirty inode for this bdi,
+			 * If this is the first dirty inode for this wb,

This probably should go through the block tree tho. Please cc Jens Axboe.

Thanks.

Signature · 1 line
tejun