Skip to contentSkip to conversation

A question about btrfs_ioctl_file_extent_same

DISCUSSION Michael Welsh Duggan 1 participant 1 message Dec 31, 2013 Btrfs file system

lore
Share & tools
lore
#0 lore raw

A simple question about btrfs_ioctl_file_extent_same...

Is there any check before btrfs_cmp_data is called that short-circuits things if the extents being compared are already the same extent? I was looking and could not find such a check, but I don't really know the btrfs source code that well. If there is no such check, would it not make sense to add one?

Signature · 2 lines
Michael Welsh Duggan
([email protected])