[Ocfs2-tools-devel] [PATCH 4/6] O2info: Add running codes for '--fs-features'.

Joel Becker Joel.Becker at oracle.com
Mon Apr 26 00:02:59 PDT 2010


On Mon, Apr 26, 2010 at 02:35:46PM +0800, tristan wrote:
> Joel Becker wrote:
> Here we only set the FL_ERROR to denote whether an error happened or
> not, we're not going to record the type of error, so why bother to
> add a new req.ir_error? can't it be just set in req.ir_flags?

	You need ir_error to tell the error on the particular request.
If request N had an error of -EINVAL and request N+1 had an error of
-EFAULT, how do you differentiate?

Joel

-- 

"The nearest approach to immortality on Earth is a government
 bureau."
	- James F. Byrnes

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127



More information about the Ocfs2-tools-devel mailing list