« Return to Thread: [RFC 0/4] Squashfs decompresssion per-cpu

[RFC 4/4] squashfs: eliminate read_data_mutex

by Stephen Hemminger-6 :: Rate this Message:

| View in Thread

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

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


--- 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);
 
  /*



------------------------------------------------------------------------------
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been
demonstrated beyond question. Learn why your peers are replacing JEE
containers with lightweight application servers - and what you can gain
from the move. http://p.sf.net/sfu/vmware-sfemails
_______________________________________________
Squashfs-devel mailing list
Squashfs-devel@...
https://lists.sourceforge.net/lists/listinfo/squashfs-devel

 « Return to Thread: [RFC 0/4] Squashfs decompresssion per-cpu