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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <87och3q21q.fsf@openvz.org>
Date:	Wed, 28 Apr 2010 14:55:29 +0400
From:	Dmitry Monakhov <dmonakhov@...nvz.org>
To:	linux-ext4@...r.kernel.org
Subject: RFC Per group orphan list

Currently orphan list is global, which require per-sb mutex
to protect add/del from the list. But it is not really necessary.
Just think about it we have to add inode to orphan list for each
->write_begin call(for each page) if i_size will grow.
For example btrfs support per-ctree orphan list.
So IMHO per-group orphan list seems to be more natural here.
So my proposal is following:
1) Introduce new incompat feature for per-group orphan list. 
2) Store per-group head of the list in group descriptor
   (Where are several reserved fields in grp-desc).
3) Maintain per-group orphan which protected by per-group lst-mutex. 
4) Let fsck to scan group descriptors after unclean umount.Since they
   are close to each other performance penalty will be negligible.

Seems that development complexity of this feature is not too high, 
what do you think.
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ