All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joel Becker <Joel.Becker@oracle.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] [PATCH 02/15] ocfs2: Small refactor of truncate zeroing code
Date: Thu Sep 20 11:27:38 2007	[thread overview]
Message-ID: <20070920182702.GE30391@tasint.org> (raw)
In-Reply-To: <200709192012.l8JKCF5w029275@rgmgw2.us.oracle.com>

On Fri, Sep 07, 2007 at 02:20:45PM -0700, Mark Fasheh wrote:
> We'll want to reuse most of this when pushing inline data back out to an
> extent. Keeping this part as a seperate patch helps to keep the upcoming
> changes for write support uncluttered.
> 
> The core portion of ocfs2_zero_cluster_pages() responsible for making sure a
> page is mapped and properly dirtied is abstracted out into it's own
> function, ocfs2_map_and_dirty_page(). Actual functionality doesn't change,
> though zeroing becomes optional.
> 
> We also turn part of ocfs2_free_write_ctxt() into  a common function for
> unlocking and freeing a page array. This operation is very common (and
> uniform) for Ocfs2 cluster sizes greater than page size, so it makes sense
> to keep the code in one place.
> 
> Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>

Signed-off-by: Joel Becker <joel.becker@oracle.com>

-- 

"Where are my angels?
 Where's my golden one?
 And where is my hope
 Now that my heroes are gone?"

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker@oracle.com
Phone: (650) 506-8127

      reply	other threads:[~2007-09-20 11:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-19 13:12 [Ocfs2-devel] [PATCH 02/15] ocfs2: Small refactor of truncate zeroing code Mark Fasheh
2007-09-20 11:27 ` Joel Becker [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=20070920182702.GE30391@tasint.org \
    --to=joel.becker@oracle.com \
    --cc=ocfs2-devel@oss.oracle.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 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.