<to...@tuxteam.de> writes: > On Mon, Sep 16, 2024 at 12:00:53PM +0300, Anssi Saari wrote: >> Jeffrey Walton <noloa...@gmail.com> writes: >> >> > The file system cache is still holding the writes. If I remove the >> > SDcard and try to use it, the image is corrupt. When I say "remove", I >> > mean pop the card out of the card reader since the write has >> > supposedly finished. >> >> All right. So in fact, block devices either have write back write >> caching or they don't and apparently the device driver decides >> that. hdparm may be able to control caching but I don't know it works >> for USB devices.
> You are talking device cache. Jeffrey is talking file system cache. > Two different (and independent) layers. I think Jeffrey's post was pretty clear in that it was not about writing to a file system. Notwithstanding the words "file system cache" in that quote above which I think that was just a mistake.