@frostschutz: it's also fairly easy to identify & murder anything that might be holding a fd to the fs on a non-lazy umount failure (and/or fail gracefully (i.e., reboot) if it's unrecoverable, e.g., from nickel itself)).
But, yeah, USBMS is tricky.
Amazon went with a giant Jenga tower of indirection to tackle the problem, and it's been the root of a number of sneaky issues over the years, too.
|