All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Hemminger <shemminger@vyatta.com>
To: Phillip Lougher <phillip@lougher.demon.co.uk>,
	kirk w <kirkpuppy@yahoo.com>
Cc: linux-fsdevel@vger.kernel.org, squashfs-devel@lists.sourceforge.net
Subject: [RFC 4/4] squashfs: eliminate read_data_mutex
Date: Fri, 22 Apr 2011 14:17:28 -0700	[thread overview]
Message-ID: <20110422212037.873294399@vyatta.com> (raw)
In-Reply-To: 20110422211724.400984699@vyatta.com

[-- Attachment #1: squashfs-no-read-data-mutex.patch --]
[-- Type: text/plain, Size: 894 bytes --]

This is no longer used, no that decompress is per-cpu.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>


--- a/fs/squashfs/squashfs_fs_sb.h	2011-04-22 14:01:19.090469622 -0700
+++ b/fs/squashfs/squashfs_fs_sb.h	2011-04-22 14:01:27.786735743 -0700
@@ -62,7 +62,6 @@ struct squashfs_sb_info {
 	__le64					*id_table;
 	__le64					*fragment_index;
 	__le64					*xattr_id_table;
-	struct mutex				read_data_mutex;
 	struct mutex				meta_index_mutex;
 	struct meta_index			*meta_index;
 	void					*stream;
--- a/fs/squashfs/super.c	2011-04-22 14:00:56.133765430 -0700
+++ b/fs/squashfs/super.c	2011-04-22 14:01:01.653934993 -0700
@@ -104,7 +104,6 @@ static int squashfs_fill_super(struct su
 	msblk->devblksize = sb_min_blocksize(sb, BLOCK_SIZE);
 	msblk->devblksize_log2 = ffz(~msblk->devblksize);
 
-	mutex_init(&msblk->read_data_mutex);
 	mutex_init(&msblk->meta_index_mutex);
 
 	/*



      parent reply	other threads:[~2011-04-22 22:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-22 21:17 [RFC 0/4] Squashfs decompresssion per-cpu Stephen Hemminger
2011-04-22 21:17 ` [RFC 1/4] squashfs: use percpu for zlib decompression Stephen Hemminger
2011-04-22 21:17 ` [RFC 2/4] squashfs: use percpu for lzo decompression Stephen Hemminger
2011-04-22 21:17 ` [RFC 3/4] squashfs: use percpu for xz decompression Stephen Hemminger
2011-04-22 21:17 ` Stephen Hemminger [this message]

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=20110422212037.873294399@vyatta.com \
    --to=shemminger@vyatta.com \
    --cc=kirkpuppy@yahoo.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=phillip@lougher.demon.co.uk \
    --cc=squashfs-devel@lists.sourceforge.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.