lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 23 Jan 2008 17:20:46 -0800
From:	Mark Fasheh <mark.fasheh@...cle.com>
To:	Andrew Morton <akpm@...ux-foundation.org>
Cc:	linux-kernel@...r.kernel.org, ocfs2-devel@....oracle.com
Subject: Re: [PATCH 08/30] ocfs2: Readpages support

On Wed, Jan 23, 2008 at 02:05:41PM -0800, Andrew Morton wrote:
> > On Thu, 17 Jan 2008 14:35:34 -0800 Mark Fasheh <mark.fasheh@...cle.com> wrote:
> > Add ->readpages support to Ocfs2. This is rather trivial - all it required
> > is a small update to ocfs2_get_block (for mapping full extents via b_size)
> > and an ocfs2_readpages() function which partially mirrors ocfs2_readpage().
> > 
> 
> Was there any performance improvement?

To be honest, most of my testing was aimed at validating the correctness of
this patch. I think there's a pretty good case to be made for having an
ocfs2_readpages() method though.

We get to avoid expensive cluster locking during readahead, which would
normally make us bounce data around the cluster.

Also, we save some cpu by avoiding the entire operation for in-inode data.


> > + * siutations are safe to ignore.
> 
> Cnat tpye.

Ok, point takne  ;)

I fixed this and the other typo you pointed out.
	--Mark

--
Mark Fasheh
Principal Software Developer, Oracle
mark.fasheh@...cle.com

From: Mark Fasheh <mark.fasheh@...cle.com>

ocfs2: fix minor typos

Signed-off-by: Mark Fasheh <mark.fasheh@...cle.com>
---
 fs/ocfs2/aops.c           |    2 +-
 fs/ocfs2/buffer_head_io.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/ocfs2/aops.c b/fs/ocfs2/aops.c
index 865684f..bc7b4cb 100644
--- a/fs/ocfs2/aops.c
+++ b/fs/ocfs2/aops.c
@@ -332,7 +332,7 @@ out:
 
 /*
  * This is used only for read-ahead. Failures or difficult to handle
- * siutations are safe to ignore.
+ * situations are safe to ignore.
  *
  * Right now, we don't bother with BH_Boundary - in-inode extent lists
  * are quite large (243 extents on 4k blocks), so most inodes don't
diff --git a/fs/ocfs2/buffer_head_io.c b/fs/ocfs2/buffer_head_io.c
index 6eaa67f..ab3a41c 100644
--- a/fs/ocfs2/buffer_head_io.c
+++ b/fs/ocfs2/buffer_head_io.c
@@ -301,7 +301,7 @@ static inline void ocfs2_check_super_or_backup(struct super_block *sb,
 }
 
 /*
- * Write super block and bakcups doesn't need to collaborate with journal,
+ * Write super block and backups doesn't need to collaborate with journal,
  * so we don't need to lock ip_io_mutex and inode doesn't need to bea passed
  * into this function.
  */
-- 
1.5.3.6

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ