xfs: configurable error behaviour
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | xfs: configurable error behaviour via sysfsfs/ fs/ fs/ +1 more | +94 | 0 replies | |
| 2/9 | xfs: introduce metadata IO error classfs/ fs/ | +37 | 0 replies | |
| 3/9 | xfs: add configurable error support to metadata buffersfs/ fs/ fs/ +1 more | +88 | 0 replies | |
| 4/9 | xfs: introduce table-based init for error behavioursfs/ | +60 | 0 replies | |
| 5/9 | xfs: add configuration of error failure speedfs/ fs/ fs/ +1 more | +169 | 1 reply | |
| 6/9 | xfs: add "fail at unmount" error handling configurationfs/ fs/ fs/ +1 more | +51 | 2 replies | |
| 7/9 | xfs: add configuration handles for specific errorsfs/ fs/ | +27 | 0 replies | |
| 8/9 | xfs: disable specific error configurationsfs/ fs/ | +19 | 1 reply | |
| 9/9 | xfs: add kmem error configuration classfs/ fs/ | +61 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/9] xfs: configurable error behaviour
Hi folks,
I need to restart the discussion and review of this patch series. There was some discussion of it last time, but nothing really came from that. I'm posting what I have in my tree right now - treat it as though it's an initial posting of the code because I can't recall what I've changed since the first posting.
What I'd like to have to for the next merge window is all the IO error bits sorted out. The final patch (kmem failure behaviour) needs more infrastructure (passing mp to every allocation) so that's a secondary concern right now and I've only included it to demonstrate how to apply this code ot a different subsystem.
Things that need to be nailed down before I can commit the series:
- sysfs layout
- naming conventions for errors and subsystems in sysfs
- how best to display/change default behaviour
Things that we can change/implement later:
- default behaviour
- additional error classes
- additional error types
- additional subsystems
- subsystem error handling implementation
- communication with other subsystems to dynamically change error behaviour
IOWs, what is important right now is how we present this to userspace, because we can't change that easily once we've decided on a presentation structure.
Modifying the code to classify and handle all the different error types is much less important, as we can change that to fix whatever problems we have without impacting the presentation to userspace.
There is definite need for this (e.g. handling of ENOSPC on thin provisioned devices), so I want to get quickly to a consensus on the userspace facing aspects so that we can get this ball rolling.
The biggest unsolved issue is how to change the default behaviour persistently. There is no infrastructure in this patch series to do that, but it is someting that we have to consider so that we don't require default behaviour to be changed after every mount of every filesystem on a system. My thoughts on this is we store changes to the defaults in xattrs on the root inode, but I'm open to ideas here as there's no code written for it yet. Solving this problem, however, is not necessary before commiting the initial code; it's something we can add later once we've worked out all the details.
Discuss!
-Dave.
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs