Align ext4 extents on erase block boundary

Registered by Saugata Das on 2012-06-28

The proposal is to align the EXT4 extents on erase block boundary. The erase block size needs to be passed in the super-block from either file system creation time (mkfs) or discover this information from block layer at run time. The ext4 block allocation then needs to be adapted to ensure that the allocation is erase block aligned.

There are already features like s_raid_stride and s_raid_stripe_width,
used by the ext4 allocator to align the start and size of allocations
on RAID systems. Explore, if this can be reused to pass erase block information

Blueprint information

Status:
Not started
Approver:
Arnd Bergmann
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Meta:
Headline : EXT4 Extent alignment

Work items for 2012:07
[saugata.das] Explore s_raid_stride and s_raid_stripe_width: TODO

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.