| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | Re: [PATCH] xfs: synchronously write the superblock on unmount |
| From: | Carlos Maiolino <cmaiolino@xxxxxxxxxx> |
| Date: | Tue, 26 Jun 2012 15:09:02 -0300 |
| In-reply-to: | <20120626160102.898671754@xxxxxxx> |
| Mail-followup-to: | xfs@xxxxxxxxxxx |
| References: | <20120626160051.364635296@xxxxxxx> <20120626160102.898671754@xxxxxxx> |
| User-agent: | Mutt/1.5.21 (2010-09-15) |
Hi,
comments inlined below
> @@ -1571,19 +1569,16 @@ xfs_log_sbcount(xfs_mount_t *mp)
> * counters on every modification.
> */
> if (!xfs_sb_version_haslazysbcount(&mp->m_sb))
> - return 0;
> + return 0;
^^^
I'd like to point this cosmetic thing about properly alignment of the
statement with its parent if condition.
>
> ===================================================================
> --- a/fs/xfs/xfs_mount.h
> +++ b/fs/xfs/xfs_mount.h
> @@ -371,7 +371,9 @@ typedef struct xfs_mod_sb {
> int64_t msb_delta; /* Change to make to specified field */
> } xfs_mod_sb_t;
>
> -extern int xfs_log_sbcount(xfs_mount_t *);
> +extern int
> +xfs_write_sbcount(
> + struct xfs_mount *mp);
I would also write it in one single line, but this is just my point of view
Otherwise, looks good
Reviewed-by: Carlos Maiolino <cmaiolino@xxxxxxxxxx>
--
--Carlos
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] xfs: synchronously write the superblock on unmount, tinguely |
|---|---|
| Next by Date: | Re: mkfs.xfs states log stripe unit is too large, Ingo Jürgensmann |
| Previous by Thread: | [PATCH] xfs: synchronously write the superblock on unmount, tinguely |
| Next by Thread: | Re: [PATCH] xfs: synchronously write the superblock on unmount, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |