All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Mason <mason@suse.com>
To: Oleg Drokin <green@namesys.com>
Cc: reiserfs-list@namesys.com
Subject: Re: [PATCH] new data logging and quota patches available
Date: 22 Feb 2003 09:17:21 -0500	[thread overview]
Message-ID: <1045923440.16042.338.camel@tiny.suse.com> (raw)
In-Reply-To: <20030222165406.A862@namesys.com>

On Sat, 2003-02-22 at 08:54, Oleg Drokin wrote:

> Replacement 05-data-logging-36.diff.gz file that applies to 2.4.21-pre4-ac5
> is available at
> ftp://namesys.com/pub/reiserfs-for-2.4/testing/05-data-logging-36-ac5.diff.gz

Thanks Oleg.

> It compiles, boots, survives my (simple) testing. (writing this email
> from patched 2.4.21-pre4-ac5, too). Quota works. symlinks are now have correct
> blocks count too
> The reason for rejects is mostly DIRECTIO fix that also went into current
> bk snapshot, so probably it will apply to Marcelo's bk tree, too.
>
> Chris: Is it intended that directio only works on data=writeback
> mounted filesystems?
> 

Yes, the way ordered writes work is the buffers are put onto a per
transaction list that gets flushed before the commit.  Since buffers can
only be on one list, this means they don't get onto the list of buffers
for that particular inode, and that makes it difficult to make sure all
pending io to the file is finished before allowing the directio to
proceed (just like the tail alias bug).

The only way to do it is by forcing a commit before the directio, which
would be horribly slow so I've disabled the data=ordered o_direct
support.  The real solution is to allocate a data structure and point to
it from the private journal pointer in the bh.  That requires some other
changes and other performance stuff is more important right now.

> Also following README file diff should be considered:
> 

Thanks, I'm uploading a few more optimizations shortly, I'll include
this change.

-chris



  reply	other threads:[~2003-02-22 14:17 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-21 23:32 [PATCH] new data logging and quota patches available Chris Mason
2003-02-21 23:52 ` Philippe Gramoullé
2003-02-22 12:41 ` Dieter Nützel
2003-02-22 15:15   ` Chris Mason
2003-02-22 16:12     ` Chris Mason
2003-02-23  0:50       ` Manuel Krause
2003-02-23  1:04         ` Manuel Krause
2003-02-23 14:50           ` Chris Mason
2003-02-23 17:18           ` Chris Mason
2003-02-23 17:37             ` Marc-Christian Petersen
2003-02-23 18:39               ` Marc-Christian Petersen
2003-02-23 19:33                 ` Chris Mason
2003-02-24 18:01                   ` Marc-Christian Petersen
2003-02-24  1:42             ` Manuel Krause
2003-02-24 14:08               ` Chris Mason
2003-02-24 17:45                 ` Manuel Krause
2003-02-24 22:19                   ` Manuel Krause
2003-02-28  8:10                     ` Manuel Krause
2003-02-28 13:32                       ` Chris Mason
2003-03-06  2:49                         ` Manuel Krause
2003-03-06  3:46                           ` Chris Mason
2003-03-06  4:03                             ` Manuel Krause
2003-03-08 14:13                               ` Manuel Krause
2003-03-09 16:39                                 ` Chris Mason
2003-03-09 17:07                                   ` Manuel Krause
2003-03-09 17:24                                     ` Chris Mason
2003-03-09 17:39                                       ` Manuel Krause
2003-03-09 18:12                                         ` Chris Mason
2003-03-11  1:42                                         ` Chris Mason
2003-03-11 20:46                                         ` Chris Mason
2003-03-12  7:38                                           ` Oleg Drokin
2003-03-12 13:22                                             ` Chris Mason
2003-03-12 13:28                                               ` Oleg Drokin
2003-03-12 13:41                                                 ` Chris Mason
2003-03-12 14:43                                           ` Manuel Krause
2003-03-12 14:55                                             ` Chris Mason
2003-03-12 19:25                                             ` Hans Reiser
2003-03-13  2:01                                               ` Manuel Krause
2003-02-24 17:59               ` Marc-Christian Petersen
2003-02-24 18:05                 ` Marc-Christian Petersen
2003-02-24 18:46                   ` Chris Mason
2003-02-24 18:08                 ` Chris Mason
2003-02-24 18:11                   ` Marc-Christian Petersen
2003-02-23 14:56         ` Chris Mason
2003-02-22 13:54 ` Oleg Drokin
2003-02-22 14:17   ` Chris Mason [this message]
2003-02-25 15:31   ` Ookhoi

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=1045923440.16042.338.camel@tiny.suse.com \
    --to=mason@suse.com \
    --cc=green@namesys.com \
    --cc=reiserfs-list@namesys.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.