-
Notifications
You must be signed in to change notification settings - Fork 17
Investigate O_SYNC / fsync effects; update counters during buffer flush #6
Comments
Correspondence from 2018: From: Andrew Wood Thanks for your email. Sorry for the late reply. PV is not aware of what's happening when you see this, because in this case One way around this would be to add an option to PV which tells it to set This is on the TODO list as "option to enable O_DIRECT" so it might appear
|
Additional correspondence - May 2022 Sent from: Andrew When I use pv to write an iso file to USB, it goes to 100% in 2 seconds followed by many minutes of waiting before the process finishes and I return to my terminal prompt. sudo sh -c "pv /mnt/somepath/to/the/image.iso > /dev/sda" pv --version arch linux 5.17.7 |
This is partially covered by the new " |
See what happens if we fsync() and/or use O_SYNC, which would be useful when writing to USB devices or other things that tend to hang for ages after we've finished.
The text was updated successfully, but these errors were encountered: