http://oss.sgi.com/bugzilla/show_bug.cgi?id=882
Summary: Undocumented error codes in XFS
Product: XFS
Version: Current
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: XFS kernel code
AssignedTo: xfs-masters@xxxxxxxxxxx
ReportedBy: crubio@xxxxxxxxxxx
Estimated Hours: 0.0
Classification: Unclassified
Created an attachment (id=295)
--> (http://oss.sgi.com/bugzilla/attachment.cgi?id=295)
Tar file includes five files: 1) xfs-report.txt, 2) three files with the
corresponding sample traces, and 3) xfs.csv (a summary of the reports).
I am a graduate student at the University of Wisconsin-Madison, working with
Prof. Ben Liblit. We have a tool that performs static program analysis to find
the list of basic error codes that each system call may return, along with
sample paths that illustrate how specific error instances reach a given
function's exit points. We have analyzed the Linux 2.6.32.4 kernel and compared
the error codes against version 2.39 of the Linux manual pages for 42
file-related system calls. Our tool reports 78 undocumented error-code
instances returned by several system calls when analyzing XFS (from which 23
seem to be VFS related).
Please find a tar ball attached. There are five files included:
xfs.csv:
The format of this file is "error-code,vfs/xfs,system-call". There are 78
entries, one per undocumented error-code instance.
xfs-X.complete
Sample traces for each of the 78 bug reports. I partitioned the file into three
parts.
xfs-report.txt
The 78 entries from xfs.csv, grouped for easier and faster inspection. We have
grouped reports that share almost identical sample path traces. This file
contains more information about how to read the full reports from
xfs-X.complete.
This work has been accepted for workshop publication. Any feedback would be
really helpful to improve our tool. It could be the case that (1) the
documentation is in fact incomplete, (2) the file system implementation is not
supposed to return a given error code, or (3) the error code cannot possibly be
returned (we believe that none of the 78 reports fall into this category).
Thank you,
Cindy
--
Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
|