public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@digeo.com>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [patch] 'virtual => physical page mappingcache',vcache-2.5.38-B8
Date: Fri, 27 Sep 2002 12:25:50 -0700	[thread overview]
Message-ID: <3D94B0BE.991E770@digeo.com> (raw)
In-Reply-To: 1033154186.16726.17.camel@irongate.swansea.linux.org.uk

Alan Cox wrote:
> 
> On Fri, 2002-09-27 at 19:35, Andrew Morton wrote:
> > O_DIRECT writes operate under i_sem, which provides exclusion
> > from trucate.  Do you know something which I don't??
> 
> So it does, hidden away in generic_file_write rather than the lower
> layers.

Well that's sort of the same level at which truncate takes it.
It's a pretty big lock.

> Interesting. So now I have a new question to resolve, which is
> why doing O_DIRECT and truncate together corrupted my disk when I tried
> it trying to break stuff

Interesting indeed.  Possibly invalidate_inode_pages2() accidentally
left some dirty buffers detached from the mapping.  Hard to see how
it could do that.

What kernel were you testing?

  reply	other threads:[~2002-09-27 19:20 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-27 16:24 [patch] 'virtual => physical page mapping cache', vcache-2.5.38-B8 Ingo Molnar
2002-09-27 16:26 ` Linus Torvalds
2002-09-27 16:42   ` Ingo Molnar
2002-09-27 16:47     ` Linus Torvalds
2002-09-27 17:01       ` Ingo Molnar
2002-09-27 17:05         ` Linus Torvalds
2002-09-27 17:33           ` Ingo Molnar
2002-09-27 17:32             ` Linus Torvalds
2002-09-27 17:42               ` Ingo Molnar
2002-09-27 17:48                 ` Linus Torvalds
2002-09-27 18:54                   ` [patch] 'virtual => physical page mapping cache' take #2, vcache-2.5.38-C4 Ingo Molnar
2002-09-27 19:12                     ` Ingo Molnar
2002-10-15  5:15                     ` Rusty Russell
2002-09-27 17:44             ` [patch] 'virtual => physical page mapping cache', vcache-2.5.38-B8 Ingo Molnar
2002-09-27 17:42               ` Chris Wedgwood
2002-09-27 17:53                 ` Ingo Molnar
2002-09-27 17:59                   ` Chris Wedgwood
2002-09-27 18:01                   ` Alan Cox
2002-09-27 18:35                     ` [patch] 'virtual => physical page mapping cache',vcache-2.5.38-B8 Andrew Morton
2002-09-27 19:16                       ` Alan Cox
2002-09-27 19:25                         ` Andrew Morton [this message]
2002-09-27 20:02                           ` [patch] 'virtual => physical page mappingcache',vcache-2.5.38-B8 Alan Cox
2002-09-28 10:22   ` [patch] 'virtual => physical page mapping cache', vcache-2.5.38-B8 Arjan van de Ven

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=3D94B0BE.991E770@digeo.com \
    --to=akpm@digeo.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox