Skip to content

ext3 HACKs

Adrian Hunter linux-ext4 1 version In review

Get series with b4
b4 am 20090714140253.25993.64525.sendpatchset@ahunter-tower

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2HACK: ext3: mount fast even when recoveringfs/ext3/super.c fs/jbd/journal.c fs/jbd/recovery.c +2 more+97 -132 replies
2/2HACK: do I/O read requests while ext3 journal recoversblock/blk-core.c block/elevator.c fs/buffer.c +7 more+199 -32 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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