summary refs log tree commit diff
path: root/fs/nls/nls_iso8859-4.c
diff options
context:
space:
mode:
authorOmar Sandoval <osandov@fb.com>2019-12-02 17:34:18 -0800
committerDavid Sterba <dsterba@suse.com>2020-01-20 16:40:54 +0100
commit313facc5bd83c8090f28ab1ee71ff01b01d20524 (patch)
tree826776f72eece263cf99594708e9c173f386f52a /fs/nls/nls_iso8859-4.c
parentdb72e47f79c5dbd95611edd453328d46c1eae93a (diff)
downloadlinux-313facc5bd83c8090f28ab1ee71ff01b01d20524.tar.gz
btrfs: remove dead snapshot-aware defrag code
Snapshot-aware defrag has been disabled since commit 8101c8dbf624
("Btrfs: disable snapshot aware defrag for now") almost 6 years ago.
Let's remove the dead code. If someone is up to the task of bringing it
back, they can dig it up from git.

This is logically a revert of commit 38c227d87c49 ("Btrfs:
snapshot-aware defrag") except that now we have to clear the
EXTENT_DEFRAG bit to avoid need_force_cow() returning true forever.

The reasons to disable were caused by runtime problems (like long stalls
or memory consumption) on heavily referenced extents (eg. thousands of
snapshots). There were attempts to fix that but never finished.

Current defrag breaks the extent references and some users prefer that
behaviour over the one implemented by snapshot aware (ie. keeping links
for defragmentation).  To enable both usecases we'd need to extend
defrag ioctl but let's do that properly from scratch.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Omar Sandoval <osandov@fb.com>
Reviewed-by: David Sterba <dsterba@suse.com>
[ enhance ]
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/nls/nls_iso8859-4.c')
0 files changed, 0 insertions, 0 deletions