So both Liu and I made huge messes of find_lock_delalloc_range trying to fix stuff, me first by fixing extent size, then him by fixing something I broke and then me again telling him to fix it a different way. So this is obviously a candidate for some testing. This patch adds a pseudo fs so we can allocate fake inodes for tests that need an inode or pages. Then it addes a bunch of tests to make sure find_lock_delalloc_range is acting the way it is supposed to. With this patch and all of our previous patches to find_lock_delalloc_range I am sure it is working as expected now. Thanks,
Showing the changes to include/uapi (1 of 9 files). Show all
Unified · Split
| @@ -71,6 +71,6 @@ · 70 unmodified lines | ||
| 71 | 71 | #define USBDEVICE_SUPER_MAGIC 0x9fa2 |
| 72 | 72 | #define MTD_INODE_FS_MAGIC 0x11307854 |
| 73 | 73 | #define ANON_INODE_FS_MAGIC 0x09041934 |
| 74 | − | |
| 74 | +#define BTRFS_TEST_MAGIC 0x73727279 | |
| 75 | 75 | |
| 76 | 76 | #endif /* __LINUX_MAGIC_H__ */ |