Whamcloud - gitweb
debugfs: implement fallocate
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 11 Jun 2015 00:01:24 +0000 (20:01 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 11 Jun 2015 00:01:24 +0000 (20:01 -0400)
commit2f8c0d028cd8e3b24aaa357a796478c3435e21e4
tree3b33527cc35a532ca365fc5168dcc031f3ff2d57
parent4f868703f6f2fe3a8724e922a625b231b6ea2540
debugfs: implement fallocate

Implement a fallocate function for debugfs, and add some tests to
demonstrate that it works (more or less).

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
13 files changed:
debugfs/debug_cmds.ct
debugfs/debugfs.8.in
debugfs/debugfs.c
debugfs/debugfs.h
tests/d_fallocate/expect.gz [new file with mode: 0644]
tests/d_fallocate/name [new file with mode: 0644]
tests/d_fallocate/script [new file with mode: 0644]
tests/d_fallocate_bigalloc/expect.gz [new file with mode: 0644]
tests/d_fallocate_bigalloc/name [new file with mode: 0644]
tests/d_fallocate_bigalloc/script [new file with mode: 0644]
tests/d_fallocate_blkmap/expect [new file with mode: 0644]
tests/d_fallocate_blkmap/name [new file with mode: 0644]
tests/d_fallocate_blkmap/script [new file with mode: 0644]