>> On 31 Jan 2024, at 11:41, Florian Weimer <fweimer@xxxxxxxxxx> wrote: >> >> I think this is somewhat counteracted by Linux treating USB mass storage >> devices as not having write caches (according to dmesg at least). >> Doesn't this mean that those costly barriers won't be used? > > Isn’t that a reference to caches within the drive and not the buffer > cache in the kernel? Yes, the kernel assumes that there are no such caches, but I think in practice there are. I think this means that journaling file systems are not working correctly, in the sense that you do not get just user data loss if the device is unplugged prematurely, but also metadata corruption. Thanks, Florian -- _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue