From: Dave Chinner <david@fromorbit.com>
To: xfs@oss.sgi.com
Cc: linux-kernel@vger.kernel.org, matthew@wil.cx
Subject: [RESEND, PATCH 0/6] Remove most users of semaphores from XFS
Date: Fri, 11 Jul 2008 11:13:44 +1000 [thread overview]
Message-ID: <1215738830-31048-1-git-send-email-david@fromorbit.com> (raw)
This series aims to convert all but one of the remaining users of
semaphores in the XFS code to use completions. Two of these
semaphores don't quite match to completion semantics, but a small
amount of additional code on top of the completions fixes this
problem. I'm open to suggestions on different/better ways to implement
this.
The patch series does not touch the b_lock semaphore in the
xfs_buf_t. At this point I'm not sure what we want to do with that
semaphore so I've ignored that for now. Also, this lock uses
linux primitives, not the xfs sema_t primitives so it doesn't
need changing to allow me to remove the sema_t.
Version 2:
o remove "flush" based API and just add the minimum necessary
extensions to allow counting completions to do what is needed
by XFS.
o change XFS patches to make use of new API
o clean up the XFS APIs using the new completion API a little.
next reply other threads:[~2008-07-11 1:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-11 1:13 Dave Chinner [this message]
2008-07-11 1:13 ` [PATCH 1/6] Clean up stale references to semaphores Dave Chinner
2008-07-11 1:13 ` [PATCH 2/6] Replace the XFS buf iodone semaphore with a completion Dave Chinner
2008-07-11 1:13 ` [PATCH 3/6] Extend completions to provide XFS object flush requirements Dave Chinner
2008-07-11 1:13 ` [PATCH 4/6] Replace inode flush semaphore with a completion Dave Chinner
2008-07-11 1:13 ` [PATCH 5/6] Replace dquot " Dave Chinner
2008-07-11 1:13 ` [PATCH 6/6] Remove the sema_t from XFS Dave Chinner
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=1215738830-31048-1-git-send-email-david@fromorbit.com \
--to=david@fromorbit.com \
--cc=linux-kernel@vger.kernel.org \
--cc=matthew@wil.cx \
--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