public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Peter Leckie <pleckie@sgi.com>
To: xfs@oss.sgi.com
Subject: [PATCH] Clean up dquot pincount code.
Date: Tue, 30 Sep 2008 12:22:48 +1000	[thread overview]
Message-ID: <48E18D78.5040808@sgi.com> (raw)
In-Reply-To: <20080930021756.44E4C58C52B4@chook.melbourne.sgi.com>

Sorry people the take message got lost so I reposted it, however the 
subject line was dropped.

Pete

Peter Leckie wrote:
> mod xfs-linux-melb:xfs-kern:32215a TAKE message
> ================================================
> Subject: TAKE 986789 - 
>
> Clean up dquot pincount code.
>
> This is a code cleanup and optimization that removes a per mount point
> spinlock from the quota code and cleans up the code.
>
> The patch changes the pincount from being an int protected by a spinlock
> to an atomic_t allowing the pincount to be manipulated without holding
> the spinlock.
>
> This cleanup also protects against random wakup's of both the aild and
> xfssyncd by reevaluating the pincount after been woken. Two latter patches
> will address the Spurious wakeups.
>
> Signed-off-by: Peter Leckie <pleckie@sgi.com>
>
> Date:  Fri Sep 26 14:42:30 AEST 2008
> Workarea:  chook.melbourne.sgi.com:/build/pleckie/2.6.x-xfs
> Inspected by:  
> donaldd
> lachlan
> hch@lst.de
> david@fromorbit.com
> Author:  pleckie
>
> The following file(s) were checked into:
>   longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb
>
>
> Modid:  xfs-linux-melb:xfs-kern:32215a
> fs/xfs/xfsidbg.c - 1.367 - changed
> fs/xfs/quota/xfs_dquot_item.c - 1.24 - changed
> fs/xfs/quota/xfs_dquot.h - 1.14 - changed
> fs/xfs/quota/xfs_dquot.c - 1.39 - changed
> fs/xfs/quota/xfs_qm.h - 1.21 - changed
> fs/xfs/quota/xfs_qm.c - 1.75 - changed
> 	- Clean up dquot pincount code.
>
>
>
>
>
>   

  reply	other threads:[~2008-09-30  2:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-30  2:17 (no subject) Peter Leckie
2008-09-30  2:22 ` Peter Leckie [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-09-26  4:11 [PATCH] Clean up dquot pincount code Peter Leckie
2008-09-26  4:30 ` Donald Douwsma
2008-09-26  4:33 ` Dave Chinner
2008-09-26  6:31 ` Christoph Hellwig
2008-09-29  1:24 ` Peter Leckie
2008-09-29  2:11   ` Donald Douwsma

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=48E18D78.5040808@sgi.com \
    --to=pleckie@sgi.com \
    --cc=xfs@oss.sgi.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