mirror of
https://github.com/Zygo/bees.git
synced 2025-06-16 17:46:16 +02:00
fs: do not emulate extent-same by clone
It is not possible to emulate extent-same by clone in a safe way. EXTENT_SAME has been supported in btrfs since kernel 3.13, which is much too old to contemplate running bees on. Remove this dangerous and unused function. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
@ -39,11 +39,6 @@ namespace crucible {
|
||||
vector<BtrfsExtentInfo> m_info;
|
||||
};
|
||||
|
||||
struct BtrfsExtentSameByClone : public BtrfsExtentSame {
|
||||
using BtrfsExtentSame::BtrfsExtentSame;
|
||||
void do_ioctl() override;
|
||||
};
|
||||
|
||||
ostream & operator<<(ostream &os, const btrfs_ioctl_same_extent_info *info);
|
||||
ostream & operator<<(ostream &os, const btrfs_ioctl_same_args *info);
|
||||
ostream & operator<<(ostream &os, const BtrfsExtentSame &bes);
|
||||
|
Reference in New Issue
Block a user