I mount sdc to /mnt/sdc which is btrfs filesystem with subvolume,
When umount, it's busy, so I use the command lsof -x f +D /mnt/sdc to inspect which program using sdc.
But lsof command hang for too long, it scan the whole /mnt/sdc filesystem which has millions of files.
As my knowledge, lsof just need scan /proc/*/fd, to filter paths that belong to /mnt/sdc, why scan the filesystem ?
is there any option to do this?