[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150709140602.eafbc5a3b7660a6c7588e1b6@linux-foundation.org>
Date: Thu, 9 Jul 2015 14:06:02 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Gang He <ghe@...e.com>
Cc: mfasheh@...e.com, rgoldwyn@...e.de, linux-kernel@...r.kernel.org,
ocfs2-devel@....oracle.com
Subject: Re: [PATCH 0/4] ocfs2: add online file check feature
On Wed, 24 Jun 2015 13:24:17 +0800 Gang He <ghe@...e.com> wrote:
> When there are errors in the ocfs2 filesystem,
> they are usually accompanied by the inode number which caused the error.
> This inode number would be the input to fixing the file.
> One of these options could be considered:
> A file in the sys filesytem which would accept inode numbers.
> This could be used to communication back what has to be fixed or is fixed.
> You could write:
> $# echo "CHECK <inode>" > /sys/fs/ocfs2/devname/filecheck
> or
> $# echo "FIX <inode>" > /sys/fs/ocfs2/devname/filecheck
This is a userspace feature so it should have user documentation.
Documentation/filesystems/ocfs2.txt is presumably the appropriate
place.
And the availability of the complete user documentation will make the
review of this patchset more productive.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists