koverstreet / bcachefs

Other
643 stars 71 forks source link

Constant small writes into metadata_targets #639

Open bichovis opened 6 months ago

bichovis commented 6 months ago

With the file system completely idle dool reports continuous writes of small amounts of bytes on the disks with the metadata. Can be doing this writes for hours before stopping.

Could this be an issue on SSDs and NVMEs and produce wearing as every write forces to rewrite the entire block?

BR

hhoffstaette commented 6 months ago

This is caused by the "journal reclaim thread" (see here) and it's really annoyingly slow due to the tiny writes. It took my poor test HDD almost 10 minutes to calm down from some moderate write activity.