• Kent Overstreet's avatar
    bcachefs: Unwritten extents support · 79203111
    Kent Overstreet authored
     - bch2_extent_merge checks unwritten bit
     - read path returns 0s for unwritten extents without actually reading
     - reflink path skips over unwritten extents
     - bch2_bkey_ptrs_invalid() checks for extents with both written and
       unwritten extents, and non-normal extents (stripes, btree ptrs) with
       unwritten ptrs
     - fiemap checks for unwritten extents and returns
       FIEMAP_EXTENT_UNWRITTEN
    Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
    79203111
fs.c 45.6 KB