linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] writeback: remove obsolete macro EXPIRE_DIRTY_ATIME
@ 2022-12-10 10:10 Miaohe Lin
  2022-12-12 13:37 ` Jan Kara
  2022-12-12 20:08 ` Jens Axboe
  0 siblings, 2 replies; 5+ messages in thread
From: Miaohe Lin @ 2022-12-10 10:10 UTC (permalink / raw)
  To: viro, tytso, jack, axboe; +Cc: linux-fsdevel, linux-kernel, linmiaohe

EXPIRE_DIRTY_ATIME is not used anymore. Remove it.

Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
---
 fs/fs-writeback.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c
index 9958d4020771..6bad645ac36f 100644
--- a/fs/fs-writeback.c
+++ b/fs/fs-writeback.c
@@ -1345,8 +1345,6 @@ static bool inode_dirtied_after(struct inode *inode, unsigned long t)
 	return ret;
 }
 
-#define EXPIRE_DIRTY_ATIME 0x0001
-
 /*
  * Move expired (dirtied before dirtied_before) dirty inodes from
  * @delaying_queue to @dispatch_queue.
-- 
2.27.0


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

* Re: [PATCH] writeback: remove obsolete macro EXPIRE_DIRTY_ATIME
  2022-12-10 10:10 [PATCH] writeback: remove obsolete macro EXPIRE_DIRTY_ATIME Miaohe Lin
@ 2022-12-12 13:37 ` Jan Kara
  2022-12-12 20:08 ` Jens Axboe
  1 sibling, 0 replies; 5+ messages in thread
From: Jan Kara @ 2022-12-12 13:37 UTC (permalink / raw)
  To: Miaohe Lin; +Cc: viro, tytso, jack, axboe, linux-fsdevel, linux-kernel

On Sat 10-12-22 18:10:42, Miaohe Lin wrote:
> EXPIRE_DIRTY_ATIME is not used anymore. Remove it.
> 
> Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>

Sure. Thanks! Feel free to add:

Reviewed-by: Jan Kara <jack@suse.cz>

								Honza

> ---
>  fs/fs-writeback.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c
> index 9958d4020771..6bad645ac36f 100644
> --- a/fs/fs-writeback.c
> +++ b/fs/fs-writeback.c
> @@ -1345,8 +1345,6 @@ static bool inode_dirtied_after(struct inode *inode, unsigned long t)
>  	return ret;
>  }
>  
> -#define EXPIRE_DIRTY_ATIME 0x0001
> -
>  /*
>   * Move expired (dirtied before dirtied_before) dirty inodes from
>   * @delaying_queue to @dispatch_queue.
> -- 
> 2.27.0
> 
-- 
Jan Kara <jack@suse.com>
SUSE Labs, CR

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

* Re: [PATCH] writeback: remove obsolete macro EXPIRE_DIRTY_ATIME
  2022-12-10 10:10 [PATCH] writeback: remove obsolete macro EXPIRE_DIRTY_ATIME Miaohe Lin
  2022-12-12 13:37 ` Jan Kara
@ 2022-12-12 20:08 ` Jens Axboe
  2022-12-13  2:09   ` Miaohe Lin
  1 sibling, 1 reply; 5+ messages in thread
From: Jens Axboe @ 2022-12-12 20:08 UTC (permalink / raw)
  To: viro, tytso, jack, Miaohe Lin; +Cc: linux-fsdevel, linux-kernel


On Sat, 10 Dec 2022 18:10:42 +0800, Miaohe Lin wrote:
> EXPIRE_DIRTY_ATIME is not used anymore. Remove it.
> 
> 

Applied, thanks!

[1/1] writeback: remove obsolete macro EXPIRE_DIRTY_ATIME
      commit: 23e188a16423a6e65290abf39dd427ff047e6843

Best regards,
-- 
Jens Axboe



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

* Re: [PATCH] writeback: remove obsolete macro EXPIRE_DIRTY_ATIME
  2022-12-12 20:08 ` Jens Axboe
@ 2022-12-13  2:09   ` Miaohe Lin
  0 siblings, 0 replies; 5+ messages in thread
From: Miaohe Lin @ 2022-12-13  2:09 UTC (permalink / raw)
  To: Jens Axboe, jack; +Cc: linux-fsdevel, linux-kernel, viro, tytso

On 2022/12/13 4:08, Jens Axboe wrote:
> 
> On Sat, 10 Dec 2022 18:10:42 +0800, Miaohe Lin wrote:
>> EXPIRE_DIRTY_ATIME is not used anymore. Remove it.
>>
>>
> 
> Applied, thanks!
> 
> [1/1] writeback: remove obsolete macro EXPIRE_DIRTY_ATIME
>       commit: 23e188a16423a6e65290abf39dd427ff047e6843
> 
> Best regards,

Many thanks both for quick respond in such busy days. :)

Thanks,
Miaohe Lin



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

* [PATCH] writeback: remove obsolete macro EXPIRE_DIRTY_ATIME
@ 2022-09-05 10:14 Miaohe Lin
  0 siblings, 0 replies; 5+ messages in thread
From: Miaohe Lin @ 2022-09-05 10:14 UTC (permalink / raw)
  To: viro; +Cc: linux-fsdevel, linux-kernel, linmiaohe

It's not used now. Remove it.

Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
---
 fs/fs-writeback.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c
index 08a1993ab7fd..b91284cc39c5 100644
--- a/fs/fs-writeback.c
+++ b/fs/fs-writeback.c
@@ -1345,8 +1345,6 @@ static bool inode_dirtied_after(struct inode *inode, unsigned long t)
 	return ret;
 }
 
-#define EXPIRE_DIRTY_ATIME 0x0001
-
 /*
  * Move expired (dirtied before dirtied_before) dirty inodes from
  * @delaying_queue to @dispatch_queue.
-- 
2.23.0


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

end of thread, other threads:[~2022-12-13  2:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-10 10:10 [PATCH] writeback: remove obsolete macro EXPIRE_DIRTY_ATIME Miaohe Lin
2022-12-12 13:37 ` Jan Kara
2022-12-12 20:08 ` Jens Axboe
2022-12-13  2:09   ` Miaohe Lin
  -- strict thread matches above, loose matches on Subject: below --
2022-09-05 10:14 Miaohe Lin

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).