All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <jens.axboe@oracle.com>
To: Hugh Dickins <hugh@veritas.com>
Cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org
Subject: Re: [PATCH] Check for compound pages in set_page_dirty()
Date: Wed, 18 Jul 2007 20:49:58 +0200	[thread overview]
Message-ID: <20070718184958.GH11657@kernel.dk> (raw)
In-Reply-To: <Pine.LNX.4.64.0707181942140.13919@blonde.wat.veritas.com>

On Wed, Jul 18 2007, Hugh Dickins wrote:
> On Wed, 18 Jul 2007, Jens Axboe wrote:
> > 
> > OK, you clearly have more knowledge in that area than I, but I do wish
> > that you would have made a note in the code at least to remove things
> > like this. It's pretty ugly to have superflous tests like that,
> > especially since there was not even a comment saying _why_ you could not
> > call set_page_dirty() on a compound page. I see it in the commit text,
> > but nobody looking at fs/bio.c or fs/direct-io.c would directly find any
> > reference of that.
> > 
> > Could you submit a patch removing the tests?
> 
> Okay, I'll do that - once I've reminded myself how to test it and done so!

I'll do a test on this tomorrow and let you know what the results are! I
should be able to do a quick fio job file for this, no need to write
test cases :-)

-- 
Jens Axboe


      reply	other threads:[~2007-07-18 18:50 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-18 14:15 [PATCH] Check for compound pages in set_page_dirty() Jens Axboe
2007-07-18 15:40 ` Hugh Dickins
2007-07-18 18:24   ` Jens Axboe
2007-07-18 18:40     ` Jens Axboe
2007-07-18 20:35       ` Hugh Dickins
2007-07-19  6:29         ` Jens Axboe
2007-07-19  8:07           ` Jens Axboe
2007-07-19 17:35           ` Hugh Dickins
2007-07-20  0:34             ` William Lee Irwin III
2007-07-23 20:54             ` Christoph Lameter
2007-07-26 17:37               ` Hugh Dickins
2007-07-26 17:44                 ` Christoph Lameter
2007-07-26 17:59                   ` Hugh Dickins
2007-07-26 18:16                     ` Christoph Lameter
2007-07-18 18:45     ` Hugh Dickins
2007-07-18 18:49       ` Jens Axboe [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=20070718184958.GH11657@kernel.dk \
    --to=jens.axboe@oracle.com \
    --cc=akpm@linux-foundation.org \
    --cc=hugh@veritas.com \
    --cc=linux-kernel@vger.kernel.org \
    /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.