Skip to content
Commit e1df36d2 authored by Chris Mason's avatar Chris Mason
Browse files

Btrfs: don't clean old snapshots on sync(1)



Cleaning old snapshots can make sync(1) somewhat slow, and some users
and applications still use it in a global fsync kind of workload.

This patch changes btrfs not to clean old snapshots during sync, which is
safe from a FS consistency point of view.  The major downside is that it
makes it difficult to tell when old snapshots have been reaped and
the space they were using has been reclaimed.  A new ioctl will be added
for this purpose instead.

Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent 536ac8ae
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment