All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pat LaVarre <p.lavarre@ieee.org>
To: linux-fsdevel@vger.kernel.org
Subject: Re: zeroes read back more often than appended
Date: 11 Dec 2003 11:42:30 -0700	[thread overview]
Message-ID: <1071168150.2503.6.camel@patibmrh9> (raw)

> From: [offline]
> Date: Thu, 4 Dec 2003 16:28:59 -0700
> To: p.lavarre@ieee.org
> ...
> bs = 4096 (or whatever)
> data[bs]
> for i 1-60
>   seek (i*2*bs)
>   write(data)

In less than a second, writing a /dev/loop0 toy volume of about 0.001
GiB this way breaks 2.6.0-test11 udf.ko via "fs/udf/balloc.c:192:"
"udf_bitmap_free_blocks: bit ... already set".

Here this test breaks udf.ko for bs in 2048 4096, loop in 1..60, writing
zero or nonzero.  The resulting file is hole, hole, write, hole, write, ....

Here this test does Not break udf.ko for bs in 2047 2049, for loop in
0..60 0..59 1..59.

Pat LaVarre


             reply	other threads:[~2003-12-11 18:42 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-11 18:42 Pat LaVarre [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-11-20 16:41 zeroes read back more often than appended Pat LaVarre
2003-11-27  0:45 ` Pat LaVarre
2003-11-28 18:20   ` Pat LaVarre
2003-11-28 18:29     ` Pat LaVarre
2003-10-07 19:02 Pat LaVarre
2003-10-07 20:54 ` Pat LaVarre
2003-10-08  3:49 ` Ben Fennema
2003-10-08 16:41   ` Pat LaVarre
2003-10-08 17:02     ` Pat LaVarre
2003-10-08 17:21     ` Pat LaVarre
2003-10-08 20:32   ` Pat LaVarre
2003-10-09 20:54   ` Pat LaVarre
2003-10-10  0:52     ` Pat LaVarre
2003-10-10 16:39       ` Pat LaVarre
2003-10-10 18:15         ` Pat LaVarre
2003-10-14  0:38           ` Pat LaVarre
2003-10-14  1:48             ` Pat LaVarre
2003-10-20 23:20               ` Pat LaVarre
2003-10-21 14:47                 ` Pat LaVarre
2003-10-21 16:46                   ` Pat LaVarre
2003-10-21 18:44                     ` Pat LaVarre
2003-10-23 18:52                     ` Pat LaVarre
2003-10-27 21:55                       ` Pat LaVarre

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=1071168150.2503.6.camel@patibmrh9 \
    --to=p.lavarre@ieee.org \
    --cc=linux-fsdevel@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.