| lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
|
Open Source and information security mailing list archives
| ||
|
Message-ID: <20130409164237.GC5980@thunk.org> Date: Tue, 9 Apr 2013 12:42:37 -0400 From: Theodore Ts'o <tytso@....edu> To: Jan Kara <jack@...e.cz> Cc: linux-ext4@...r.kernel.org Subject: Re: [PATCH 2/2] ext4: Move quota initialization out of inode allocation transaction On Tue, Apr 09, 2013 at 10:34:08AM +0200, Jan Kara wrote: > Inode allocation transaction is pretty heavy (246 credits with quotas > and extents before previous patch, still around 200 after it). This is > mostly due to credits required for allocation of quota structures > (credits there are heavily overestimated but it's difficult to make > better estimates if we don't want to wire non-trivial assumptions about > quota format into filesystem). > > So move quota initialization out of allocation transaction. That way > transaction for quota structure allocation will be started only if we > need to look up quota structure on disk (rare) and furthermore it will > be started for each quota type separately, not for all of them at once. > This reduces maximum transaction size to 34 is most cases and to 73 in > the worst case. > > Signed-off-by: Jan Kara <jack@...e.cz> Thanks, added to the dev branch for testing. - Ted -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists