ext3 HACKs
Get series with b4
b4 am 20090714140548.26116.2919.sendpatchset@ahunter-towerVersions newest first
- v1 Latest2 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | HACK: ext3: mount fast even when recoveringfs/ fs/ fs/ +2 more | +97 | 6 replies | |
| 2/2 | HACK: do I/O read requests while ext3 journal recoversblock/ block/ fs/ +7 more | +199 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] ext3 HACKs
Hi
We are using linux 2.6.28 and we have a situation where ext3 can take 30-60 seconds to mount.
The cause is the underlying device has extremely poor random write speed (several orders of magnitude slower than sequential write speed), and journal recovery can involve many small random writes.
To alleviate this situation somewhat, I have two moderately ugly hacks:
HACK 1: ext3: mount fast even when recovering HACK 2: do I/O read requests while ext3 journal recovers
HACK 1 uses a I/O barrier in place of waiting for recovery I/O to be flushed.
HACK 2 crudely throws I/O read requests to the front of the dispatch queue until the I/O barrier from HACK 1 is reached.
If you can spare a moment to glance at these hacks and notice any obvious flaws, or suggest a better alternative, it would be greatly appreciated.
Regards
Adrian Hunter