Skip to content
Commit 179e29e4 authored by Chris Mason's avatar Chris Mason
Browse files

Btrfs: Fix a number of inline extent problems that Yan Zheng reported.



The fixes do a number of things:

1) Most btrfs_drop_extent callers will try to leave the inline extents in
place.  It can truncate bytes off the beginning of the inline extent if
required.

2) writepage can now update the inline extent, allowing mmap writes to
go directly into the inline extent.

3) btrfs_truncate_in_transaction truncates inline extents

4) extent_map.c fixed to not merge inline extent mappings and hole
mappings together

Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent 35ebb934
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment