diff options
author | Chris Mason <chris.mason@fusionio.com> | 2013-10-16 10:36:55 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2013-10-16 10:42:53 -0400 |
commit | d1570a06184ed3748536a67693ef5cfd954d4032 (patch) | |
tree | 3fe610614ddc64a510006820a518297d14a9dec1 /send-test.c | |
parent | 005d7d2efb0aaaae056584f3cbd25d3bfce73ea3 (diff) |
mkfs: fix mkfs -r to properly allocate space
mkfs -r wasn't creating chunks properly, making it very difficult to
allocate space for anything except tiny filesystems.
This changes it around to use more of the generic infrastructure, and
to do actual logical->physical block number translation.
It also allocates space to the files in smaller extents (max 1MB), which
keeps the allocator from trying to allocate an extent bigger than a
single chunk.
It doesn't quite support multi-device mkfs -r yet, but is much closer.
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'send-test.c')
0 files changed, 0 insertions, 0 deletions