Bug 93021
Summary: | Mounted subvolumes can be deleted | ||
---|---|---|---|
Product: | File System | Reporter: | Timo Kokkonen (timo.kokkonen) |
Component: | btrfs | Assignee: | Josef Bacik (josef) |
Status: | REOPENED --- | ||
Severity: | high | CC: | dsterba, raphael.linuxbugs, szg00000 |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | v3.19 | Subsystem: | |
Regression: | Yes | Bisected commit-id: |
Description
Timo Kokkonen
2015-02-10 07:44:40 UTC
Still reproducible with 4.0-rc4 It appears this is no longer reproducible with 4.1-rc4. So I'll mark this as resolved. Strange, I don't see any patch in btrfs that could fix that. http://article.gmane.org/gmane.linux.kernel/1920175 from Omar is not merged. AFAIK this series http://thread.gmane.org/gmane.comp.file-systems.btrfs/45237 will fix that, but it's scheduled for 4.2 . You are right. I see I had accidentally left Omar Sandoval's previous fix proposal on my tree and buried it with a merge. So that's why it didn't reproduce any more for me. I'm reopening this bug so it reflects the current state. Sorry about the noise. Hello, I just ran into this issue on Linux 4.17.8 and btrfs-progs v4.16.1. btrfs subvolume delete @ is like rm -rf / on steroids, featuring "ls: command not found" and "Oh, well." way more efficiently. A big advantage is, this "Why does this command takes several seconds to return? Oh f*" moment does not happen, and no scaring endless file listing is shown. |