btrfs-freespace ever doing anything?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I have a quite simple and possibly stupid question. Since I'm occasionally seeing warnings about failed loading of free space cache, I wanted to clear and rebuild space cache. So I mounted the filesystem(s) with -o clear_cache and subsequently with my regular options which includes space_cache. Indeed, dmesg tells me:

[   60.285190] BTRFS info (device dm-1): force clearing of disk cache

and then

[  137.151845] BTRFS info (device dm-1): use ssd allocation scheme
[  137.151850] BTRFS info (device dm-1): disk space caching is enabled
[  137.151852] BTRFS info (device dm-1): has skinny extents

To my understanding, btrfs-freespace should then start working to rebuild the free space cache. However, I can't remember that I have ever seen btrfs work hard after clearing the space cache. The drives aren't working much, and the btrfs-freespace processes (which are indeed there) don't do anything either.

So simple question: Can anyone try to clear their space cache and confirm that btrfs actually does something after doing so? Is there anything I could do to confirm that something is happening?

The drives in question are a SSD and a HDD, both in the range of 1-2 TB in size.

I'm on Arch Linux, kernel 4.12.3, btrfs-progs 4.11.1

Best regards
Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux