Re: [PATCH] btrfs: Remove redundant FLAG_VACANCY

2017-11-27 Thread David Sterba
On Thu, Nov 23, 2017 at 10:51:43AM +0200, Nikolay Borisov wrote: > Commit 9036c10208e1 ("Btrfs: update hole handling v2") added the FLAG_VACANCY > to denote holes, however there was already a consistent way of flagging > extents which represent hole - ->block_start = EXTENT_MAP_HOLE. And also >

[PATCH] btrfs: Remove redundant FLAG_VACANCY

2017-11-23 Thread Nikolay Borisov
Commit 9036c10208e1 ("Btrfs: update hole handling v2") added the FLAG_VACANCY to denote holes, however there was already a consistent way of flagging extents which represent hole - ->block_start = EXTENT_MAP_HOLE. And also the only place where this flag is checked is in the fiemap code, but the