All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Sandeen <sandeen@redhat.com>
To: Jan Kara <jack@suse.cz>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/6] UDF cleanup and fixes
Date: Tue, 22 May 2007 15:39:31 -0500	[thread overview]
Message-ID: <46535503.4020702@redhat.com> (raw)
In-Reply-To: <4632710C.5030104@sandeen.net>

Eric Sandeen wrote:

> Jan -
> 
> I ran 2.6.21 + your udf patches from -mm through some udf tests which,
> oddly enough, can be found in the xfstests test suite in xfsprogs cvs
> from sgi.
> 
> It looks much better than before, but I was able to trip some of your
> asserts.  They were generated while fsx was running.  The good news,
> though, is that fsx passed.  :)  I haven't looked into it much further
> yet, but wanted to let you know.

Here's a short hacky testcase that trips the assert around line 123 of
udf/truncate.c  I'm looking into it but you may immediately see what the
problem is...?


#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>

int main(int argc, char ** argv)
{
        int fd;
        char buf[65536];

        fd = open("testfile", O_WRONLY|O_CREAT);
        lseek(fd, 16797, SEEK_SET);
        write(fd, buf, 22935);
        close(fd);

        fd = open("testfile", O_WRONLY);
        lseek(fd, 31281, SEEK_SET);
        write(fd, buf, 9592);
        close(fd);
}

-Eric

  parent reply	other threads:[~2007-05-22 20:40 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-06 16:44 [PATCH 0/6] UDF cleanup and fixes Jan Kara
2007-03-06 16:46 ` [PATCH 1/6] " Jan Kara
2007-03-07  9:37   ` Christoph Hellwig
2007-03-06 16:46 ` [PATCH 2/6] " Jan Kara
2007-03-07  9:37   ` Christoph Hellwig
2007-03-06 16:47 ` [PATCH 3/6] " Jan Kara
2007-03-07  9:38   ` Christoph Hellwig
2007-03-06 16:47 ` [PATCH 4/6] " Jan Kara
2007-03-07  9:38   ` Christoph Hellwig
2007-03-06 16:48 ` [PATCH 5/6] " Jan Kara
2007-03-07  9:38   ` Christoph Hellwig
2007-03-06 16:48 ` [PATCH 6/6] " Jan Kara
2007-03-07  9:38   ` Christoph Hellwig
2007-03-30  4:59 ` [PATCH 0/6] " Tino Keitel
2007-03-30 18:06   ` Chuck Ebbert
2007-03-31  9:46     ` Tino Keitel
2007-04-02 14:48       ` Chuck Ebbert
2007-04-04  6:36         ` Tino Keitel
2007-04-12 16:01           ` Jan Kara
2007-04-12 15:59             ` Tino Keitel
2007-04-16 15:23               ` Jan Kara
2007-04-02 12:54   ` Jan Kara
2007-04-02 13:54   ` Jan Kara
2007-04-27 21:54 ` Eric Sandeen
2007-05-03 15:13   ` Jan Kara
2007-05-22 20:39   ` Eric Sandeen [this message]
2007-05-23  7:45     ` Jan Kara

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=46535503.4020702@redhat.com \
    --to=sandeen@redhat.com \
    --cc=jack@suse.cz \
    --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.