Re: [PATCH] btrfs: Remove redundant FLAG_VACANCY

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
> the only place where this flag is checked is in the fiemap code, but the
> block_start value is also checked and every other place in the filesystem
> detects holes by using block_start value's. So remove the extra flag. This
> survived a full xfstest run
> 
> Signed-off-by: Nikolay Borisov <nborisov@xxxxxxxx>

Reviewed-by: David Sterba <dsterba@xxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux