Displaying 1 result from an estimated 1 matches for "i_err_file_extent_discount".
2013 Oct 22
0
[PATCH] Btrfs-progs: add support for the no holes incompat flag
...k > 0 && (rec->extent_end < rec->isize ||
- rec->first_extent_gap < rec->isize))
+ if (rec->nlink > 0 && !no_holes &&
+ (rec->extent_end < rec->isize ||
+ rec->first_extent_gap < rec->isize))
rec->errors |= I_ERR_FILE_EXTENT_DISCOUNT;
}
@@ -6155,6 +6157,14 @@ int cmd_check(int argc, char **argv)
if (ret)
goto out;
+ /*
+ * We used to have to have these hole extents in between our real
+ * extents so if we don''t have this flag set we need to make sure there
+ * are no gaps in the file extents for inodes, o...