Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1282250
| From | Pavel Machek <pavel@ucw.cz> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 0/4] Add online file check feature |
| Date | 2015-12-02 19:30 +0100 |
| Message-ID | <qBkka-2qa-7@gated-at.bofh.it> (permalink) |
| References | <qospb-7q6-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed 2015-10-28 14:25:57, Gang He 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 > Are you sure this is reasonable interface? I mean.... sysfs is supposed to be one value per file. And I don't think its suitable for running commands. ...or returning back results. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Re: [PATCH v2 0/4] Add online file check feature Pavel Machek <pavel@ucw.cz> - 2015-12-02 19:30 +0100
Re: [PATCH v2 0/4] Add online file check feature "Gang He" <ghe@suse.com> - 2015-12-03 03:10 +0100
Re: [PATCH v2 0/4] Add online file check feature Greg KH <greg@kroah.com> - 2015-12-03 06:20 +0100
Re: [PATCH v2 0/4] Add online file check feature "Gang He" <ghe@suse.com> - 2015-12-04 09:40 +0100
Re: [PATCH v2 0/4] Add online file check feature Pavel Machek <pavel@ucw.cz> - 2015-12-04 10:30 +0100
Re: [PATCH v2 0/4] Add online file check feature Greg KH <greg@kroah.com> - 2015-12-04 17:50 +0100
Re: [PATCH v2 0/4] Add online file check feature "Gang He" <ghe@suse.com> - 2015-12-07 04:40 +0100
csiph-web