mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "colin" <colin@realtek.com.tw>
To: "Alan Cox" <alan@lxorguk.ukuu.org.uk>
Cc: <linux-kernel@vger.kernel.org>
Subject: Re: UDF filesystem has some bugs on truncating
Date: Tue, 20 Jun 2006 12:37:18 +0800	[thread overview]
Message-ID: <004301c69423$365d53d0$106215ac@realtek.com.tw> (raw)
In-Reply-To: <1150709551.2503.6.camel@localhost.localdomain>


Hi Alan,
Do you use the same command with me?
The parameter "seek" of "dd if=/dev/zero of=aaa bs=1024k count=2 seek=3000"
will inform "dd" to use truncate system call to expand file in no time.
In normal situations, the file will grow up to 3G in about 2 seconds.
This dd command on ext3 partition can run very well on my platform, but it
will fail on UDF partition.

Regards,
Colin


----- Original Message ----- 
From: "Alan Cox" <alan@lxorguk.ukuu.org.uk>
To: "colin" <colin@realtek.com.tw>
Cc: <linux-kernel@vger.kernel.org>
Sent: Monday, June 19, 2006 5:32 PM
Subject: Re: UDF filesystem has some bugs on truncating


> Ar Gwe, 2006-06-16 am 13:47 +0800, ysgrifennodd colin:
> > Hi all,
> > I found that UDF has bugs on truncating.
> > When you do this:
> >     dd if=/dev/zero of=aaa bs=1024k count=2 seek=3000
> > , Linux will hang and die.
> > The platform is Linux 2.6.16 on MIPS malta board.
>
> Ok I eventually sort of reproduced this on x86-64. It took a while
> because in my environment I see a crash 2 or 3 hours after the test is
> run, and that crash is on hardware that doesn't otherwise crash and
> seems to be repeatable.
>
> Alan
>


      reply	other threads:[~2006-06-20  4:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-16  5:47 colin
2006-06-17 14:42 ` Alan Cox
2006-06-19  9:32 ` Alan Cox
2006-06-20  4:37   ` colin [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='004301c69423$365d53d0$106215ac@realtek.com.tw' \
    --to=colin@realtek.com.tw \
    --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

Powered by JetHome