On Tue, 09 May 2023 23:18:49 -0600, Andreas Dilger wrote: > Call safe_getenv(UNIX_IO_NOZEROOUT) once when the device is > opened and set CHANNEL_FLAG_NOZEROOUT if present instead of > getting uid/euid/getenv every time unix_zeroout() is called. > > For unix_discard() and unix_zeroout() don't continue to call > them if the block device doesn't support these operations. > > [...] Applied, thanks! [1/1] ext2fs: don't retry discard/zeroout repeatedly commit: cc20e3c4320ae34dd06ec4d6a71d07aa7d6599d7 Best regards, -- Theodore Ts'o <tytso@xxxxxxx>