Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Btrfs: add a sanity test for a vacant extent at the front of a file | Josef Bacik | 2013-11-11 | 1 | -5/+128 |
| | | | | | | | | Btrfs_get_extent was not handling this case properly, add a test to make sure we don't regress. Thanks, Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com> | ||||
* | Btrfs: add tests for btrfs_get_extent | Josef Bacik | 2013-11-11 | 1 | -0/+832 |
I'm going to be removing hole extents in the near future so I wanted to make a sanity test for btrfs_get_extent to make sure I don't break anything in the meantime. This patch just puts btrfs_get_extent through its paces by giving it a completely unreasonable mapping to look at and make sure it is giving us back maps that make sense. Thanks, Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com> |