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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110727013822.GD19851@thunk.org>
Date:	Tue, 26 Jul 2011 21:38:22 -0400
From:	Ted Ts'o <tytso@....edu>
To:	Yongqiang Yang <xiaoqiangnk@...il.com>
Cc:	linux-ext4@...r.kernel.org, adilger@...ger.ca, amir73il@...il.com,
	tm@....ma
Subject: Re: [PATCH v2 01/11] ext4: prevent parallel resizers by atomic bit
 ops

On Tue, Jul 19, 2011 at 12:02:07PM +0800, Yongqiang Yang wrote:
> Before this patch, parallel resizers are allowed and protected by a mutex lock,
> actually, there is no need to support parallel resizer, so this patch prevents
> parallel resizers by atmoic bit ops, like lock_page() and unlock_page() do.
> 
> To do this, the patch removed the mutex lock s_resize_lock from struct ext4_sb_info
> and added a unsigned long field named s_resize_flags which inidicates if there is
> a resizer.
> 
> Signed-off-by: Yongqiang Yang <xiaoqiangnk@...il.com>

Thanks, added to the ext4 patch.

					- 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

Powered by Openwall GNU/*/Linux Powered by OpenVZ