5.12.0-0.rc4.175.fc35.x86_64+debug /dev/sdb1 on /srv/extra type btrfs (rw,relatime,seclabel,compress=zstd:1,space_cache=v2,subvolid=5,subvol=/)
The directories being deleted are on a separate drive (HDD) from / (SSD). It's an unpacked Firefox source tarball, ~2.7G. I had two separate copies, so the rm command was merely: rm -rf firefox1 firefox2 And that command did not return to a prompt for over a minute, with no disk activity all, on an otherwise idle laptop. sysrq+w shows nothing, sysrq+t shows some things. [ 9638.375968] kernel: task:rm state:R running task stack:13176 pid: 2275 ppid: 1892 flags:0x00000000 [ 9638.375986] kernel: Call Trace: [ 9638.375998] kernel: ? __lock_acquire+0x3ac/0x1e10 [ 9638.376014] kernel: ? __lock_acquire+0x3ac/0x1e10 [ 9638.376036] kernel: ? lock_acquire+0xc2/0x3a0 [ 9638.376051] kernel: ? lock_acquire+0xc2/0x3a0 [ 9638.376069] kernel: ? lock_acquire+0xc2/0x3a0 [ 9638.376081] kernel: ? lock_is_held_type+0xa7/0x120 [ 9638.376090] kernel: ? rcu_read_lock_sched_held+0x3f/0x80 [ 9638.376099] kernel: ? __btrfs_tree_lock+0x27/0x120 [ 9638.376111] kernel: ? __clear_extent_bit+0x274/0x560 [ 9638.376120] kernel: ? _raw_spin_lock_irqsave+0x67/0x90 [ 9638.376139] kernel: ? __lock_acquire+0x3ac/0x1e10 [ 9638.376153] kernel: ? lock_acquire+0xc2/0x3a0 [ 9638.376161] kernel: ? __lock_acquire+0x3ac/0x1e10 [ 9638.376189] kernel: ? lock_is_held_type+0xa7/0x120 [ 9638.376208] kernel: ? release_extent_buffer+0xa3/0xe0 [ 9638.376224] kernel: ? btrfs_update_root_times+0x2a/0x60 [ 9638.376237] kernel: ? btrfs_insert_orphan_item+0x62/0x80 [ 9638.376246] kernel: ? _atomic_dec_and_lock+0x31/0x50 [ 9638.376264] kernel: ? btrfs_evict_inode+0x16b/0x4e0 [ 9638.376273] kernel: ? btrfs_evict_inode+0x370/0x4e0 [ 9638.376293] kernel: ? evict+0xcf/0x1d0 [ 9638.376305] kernel: ? do_unlinkat+0x1b2/0x2c0 [ 9638.376329] kernel: ? do_syscall_64+0x33/0x40 [ 9638.376338] kernel: ? entry_SYSCALL_64_after_hwframe+0x44/0xae The entire dmesg is here: https://drive.google.com/file/d/1gyyp59Ju1aRIz3FCZU-kmu05-W1NN89A/view?usp=sharing It isn't nearly as bad deleting one directory at once ~15s. -- Chris Murphy
