2012/11/8 Dave Chinner <david@xxxxxxxxxxxxx>: > On Wed, Nov 07, 2012 at 11:31:39PM +0100, Jan Kara wrote: >> When BSD process accounting is enabled and logs information to a filesystem >> which gets frozen, system easily becomes unusable because each attempt to >> account process information blocks. Thus e.g. every task gets blocked in exit. >> >> It seems better to drop accounting information (which can already happen when >> filesystem is running out of space) instead of locking system up. This is >> implemented using a special flag FMODE_NO_FREEZE_WAIT in file->f_mode of a >> file to which accounting information is written. > > I have no problems with making freeze waiting non-blocking, by why > invent a new flag for what is essentially an O_NONBLOCK operation? > It's a general problem. I didn't try but I don't think O_NONBLOCK works on a frozen fs, even without BSD accounting. And this behaviour it's not related with the Jan's fsfreeze patches. Marco -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html