linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ted Ts'o <tytso@mit.edu>
To: Yongqiang Yang <xiaoqiangnk@gmail.com>
Cc: linux-ext4@vger.kernel.org, adilger@dilger.ca,
	amir73il@gmail.com, tm@tao.ma
Subject: Re: [PATCH v2 01/11] ext4: prevent parallel resizers by atomic bit ops
Date: Tue, 26 Jul 2011 21:38:22 -0400	[thread overview]
Message-ID: <20110727013822.GD19851@thunk.org> (raw)
In-Reply-To: <1311048137-16400-2-git-send-email-xiaoqiangnk@gmail.com>

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@gmail.com>

Thanks, added to the ext4 patch.

					- Ted

  reply	other threads:[~2011-07-27  1:38 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-19  4:02 ext4: prevent parallel resizers and fix some error handling in resize Yongqiang Yang
2011-07-19  4:02 ` [PATCH v2 01/11] ext4: prevent parallel resizers by atomic bit ops Yongqiang Yang
2011-07-27  1:38   ` Ted Ts'o [this message]
2011-07-19  4:02 ` [PATCH v2 02/11] ext4: prevent a fs with errors from being resized Yongqiang Yang
2011-07-27  1:42   ` Ted Ts'o
2011-07-19  4:02 ` [PATCH v2 03/11] ext4: rename ext4_add_groupblocks() to ext4_group_add_blocks() Yongqiang Yang
2011-07-27  1:45   ` Ted Ts'o
2011-07-19  4:02 ` [PATCH v2 04/11] ext4: let ext4_group_add_blocks() return an error code Yongqiang Yang
2011-07-27  1:49   ` Ted Ts'o
2011-07-19  4:02 ` [PATCH v2 05/11] ext4: let ext4_group_add_blocks() handle 0 blocks quickly Yongqiang Yang
2011-07-27  1:52   ` Ted Ts'o
2011-07-19  4:02 ` [PATCH v2 06/11] ext4: fix a typo in ext4_group_extend() Yongqiang Yang
2011-07-27  1:54   ` Ted Ts'o
2011-07-19  4:02 ` [PATCH v2 07/11] ext4: let setup_new_group_blocks() set multi-bits each time Yongqiang Yang
2011-07-27  2:15   ` [PATCH] ext4: let setup_new_group_blocks() set multiple bits at a time Theodore Ts'o
2011-07-19  4:02 ` [PATCH v2 08/11] ext4: simplify journal handling in setup_new_group_blocks() Yongqiang Yang
2011-07-27  2:23   ` Ted Ts'o
2011-07-19  4:02 ` [PATCH v2 09/11] ext4: remove lock_buffer in bclean() and setup_new_group_blocks() Yongqiang Yang
2011-07-28  0:45   ` Ted Ts'o
2011-07-19  4:02 ` [PATCH v2 10/11] ext4: simplify parameters of add_new_gdb() Yongqiang Yang
2011-07-28  1:21   ` [PATCH -v3] " Theodore Ts'o
2011-07-19  4:02 ` [PATCH v2 11/11] ext4: simplify parameters of reserve_backup_gdb() Yongqiang Yang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110727013822.GD19851@thunk.org \
    --to=tytso@mit.edu \
    --cc=adilger@dilger.ca \
    --cc=amir73il@gmail.com \
    --cc=linux-ext4@vger.kernel.org \
    --cc=tm@tao.ma \
    --cc=xiaoqiangnk@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).