linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] writeback: fix comment in __mark_inode_dirty
@ 2017-12-05  5:52 Wang Long
  2017-12-05 15:48 ` Tejun Heo
  0 siblings, 1 reply; 3+ messages in thread
From: Wang Long @ 2017-12-05  5:52 UTC (permalink / raw)
  To: viro, tj; +Cc: linux-fsdevel, linux-kernel, w

Signed-off-by: Wang Long <wanglong19@meituan.com>
---
 fs/fs-writeback.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c
index cea4836..8d477cf 100644
--- a/fs/fs-writeback.c
+++ b/fs/fs-writeback.c
@@ -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.
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] writeback: fix comment in __mark_inode_dirty
  2017-12-05  5:52 [PATCH] writeback: fix comment in __mark_inode_dirty Wang Long
@ 2017-12-05 15:48 ` Tejun Heo
  2017-12-06  2:35   ` wanglong
  0 siblings, 1 reply; 3+ messages in thread
From: Tejun Heo @ 2017-12-05 15:48 UTC (permalink / raw)
  To: Wang Long; +Cc: viro, linux-fsdevel, linux-kernel, w

Hello, Wang.

On Tue, Dec 05, 2017 at 12:52:54AM -0500, Wang Long wrote:
> Signed-off-by: Wang Long <wanglong19@meituan.com>
> ---
>  fs/fs-writeback.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c
> index cea4836..8d477cf 100644
> --- a/fs/fs-writeback.c
> +++ b/fs/fs-writeback.c
> @@ -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,

Acked-by: Tejun Heo <tj@kernel.org>

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

Thanks.

-- 
tejun

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] writeback: fix comment in __mark_inode_dirty
  2017-12-05 15:48 ` Tejun Heo
@ 2017-12-06  2:35   ` wanglong
  0 siblings, 0 replies; 3+ messages in thread
From: wanglong @ 2017-12-06  2:35 UTC (permalink / raw)
  To: tj; +Cc: viro, linux-fsdevel, linux-kernel, w, axboe, axboe

Cc: Jens Axboe

> On 5 Dec 2017, at 11:48 PM, tj@kernel.org wrote:
> 
> Hello, Wang.
> 
> On Tue, Dec 05, 2017 at 12:52:54AM -0500, Wang Long wrote:
>> Signed-off-by: Wang Long <wanglong19@meituan.com>
>> ---
>> fs/fs-writeback.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>> 
>> diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c
>> index cea4836..8d477cf 100644
>> --- a/fs/fs-writeback.c
>> +++ b/fs/fs-writeback.c
>> @@ -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,
> 
> Acked-by: Tejun Heo <tj@kernel.org>
> 
> This probably should go through the block tree tho.  Please cc Jens
> Axboe.
> 
> Thanks.
> 
> -- 
> tejun

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-12-06  2:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-05  5:52 [PATCH] writeback: fix comment in __mark_inode_dirty Wang Long
2017-12-05 15:48 ` Tejun Heo
2017-12-06  2:35   ` wanglong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).