mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andreas Dilger <adilger@turbolinux.com>
To: Adam <adam@eax.com>
Cc: Andreas Dilger <adilger@turbolinux.com>,
	Marc Mutz <Marc@mutz.com>,
	linux-kernel@vger.kernel.org
Subject: Re: 'holey files' not holey enough.
Date: Thu, 30 Nov 2000 10:45:23 -0700 (MST)	[thread overview]
Message-ID: <200011301745.eAUHjOE16081@webber.adilger.net> (raw)
In-Reply-To: <Pine.LNX.4.21.0011300929330.1152-200000@eax.student.umd.edu> "from Adam at Nov 30, 2000 09:34:37 am"

Adam writes:
> I just did what suggested, and it seems that DU reports correct values,
> I have attached 'sript' log of the above example on my filesystem.
> Here are some highlights:
> 
> [adam@pepsi /tmp]$ ls -lis holed.file
> 3085069 5872 -rw-rw-r--    1 adam     adam      6000000 Nov 30 09:11 holed.file
> 
> Block size = 4096, fragment size = 4096
> Links: 1   Blockcount: 11744
> TOTAL: 1468
> 
> so it seems DU reports correct values as :
> 	11744/2=5872
> and
> 	4096*1468=6012928

I guess the next thing to check is if your "dd" is actually seeking, or
just pretending to...  Maybe an strace of the "dd" call will tell us if
it is screwing with our minds.  Also, if you could make a scratch ext2
filesystem with 1k blocks, and see if it does the same thing.  Even
better would be to try a different kernel to see if it affects this.

Cheers, Andreas
-- 
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  reply	other threads:[~2000-11-30 18:45 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-29 13:00 Adam
2000-11-29 13:07 ` Tigran Aivazian
2000-11-29 13:14   ` Adam
2000-11-29 20:55   ` Adam
2000-11-29 20:03     ` Martin Josefsson
2000-11-29 22:36 ` Marc Mutz
2000-11-29 23:18   ` safemode
2000-11-29 23:34   ` Andreas Dilger
2000-11-30 14:34     ` Adam
2000-11-30 17:45       ` Andreas Dilger [this message]
2000-12-01 14:13     ` Marc Mutz
     [not found] <Pine.GSO.4.21.0012020517290.20770-100000@chia.umiacs.umd.edu>
2000-12-02 20:40 ` Jaakko Hyvätti

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=200011301745.eAUHjOE16081@webber.adilger.net \
    --to=adilger@turbolinux.com \
    --cc=Marc@mutz.com \
    --cc=adam@eax.com \
    --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

all inboxes | Powered by JetHome®