xfs
[Top] [All Lists]

Re: [PATCH] xfs: Update xfs_log_commit_cil() comments

To: Jeff Liu <jeff.liu@xxxxxxxxxx>
Subject: Re: [PATCH] xfs: Update xfs_log_commit_cil() comments
From: Mark Tinguely <tinguely@xxxxxxx>
Date: Mon, 08 Apr 2013 15:59:20 -0500
Cc: "xfs@xxxxxxxxxxx" <xfs@xxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <515D34B2.9050807@xxxxxxxxxx>
References: <515D34B2.9050807@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20120122 Thunderbird/9.0
On 04/04/13 03:07, Jeff Liu wrote:
xfs_log_commit_iclog() function has been removed by commits 93b8a585:
        xfs: remove the deprecated nodelaylog option

Beginning from Linux 3.3, only delayed logging is supported so that
we call xfs_log_commit_cil() at xfs_trans_commit() only, remove the
useless comments so.

Signed-off-by: Jie Liu<jeff.liu@xxxxxxxxxx>
---
  fs/xfs/xfs_log_cil.c |    4 ----
  1 file changed, 4 deletions(-)

diff --git a/fs/xfs/xfs_log_cil.c b/fs/xfs/xfs_log_cil.c
index ddc4529..e3d0b85 100644
--- a/fs/xfs/xfs_log_cil.c
+++ b/fs/xfs/xfs_log_cil.c
@@ -668,10 +668,6 @@ xlog_cil_push_foreground(
   * transaction to the checkpoint context so we carry the busy extents through
   * to checkpoint completion, and then unlock all the items in the transaction.
   *
- * For more specific information about the order of operations in
- * xfs_log_commit_cil() please refer to the comments in
- * xfs_trans_commit_iclog().
- *
   * Called with the context lock already held in read mode to lock out
   * background commit, returns without it held once background commits are
   * allowed again.

And the log is documented in Documents/filesystems/xfs-delayed-logging-design.txt.

Looks good.

Reviewed-by: Mark Tinguely <tinguely@xxxxxxx>

<Prev in Thread] Current Thread [Next in Thread>