From: Ram Gupta <ram.gupta5@gmail.com>
To: kapil a <kapilann@gmail.com>
Cc: Avishay Traeger <atraeger@cs.sunysb.edu>,
lloyd@randombit.net, linux-kernel@vger.kernel.org
Subject: Re: file system question
Date: Thu, 9 Feb 2006 15:54:03 -0600 [thread overview]
Message-ID: <728201270602091354r7bc145c7i35e0b90ebf3d3af4@mail.gmail.com> (raw)
In-Reply-To: <ef2d59350602090957o1a86757fk31c361e2e37f1e1f@mail.gmail.com>
On 2/9/06, kapil a <kapilann@gmail.com> wrote:
> I am only sending the relevant stuff.
>
> My strace output :
>
> fstat64(3, {st_mode=S_IFDIR|0755, st_size=48, ...}) = 0
> fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
> getdents64(3, /* 3 entries */, 4096) = 80
> getdents64(3, /* 0 entries */, 4096) = 0
> close(3) = 0
> exit_group(0)
>
> strace output on a partition under ext2
>
> fstat64(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
> getdents64(3, /* 4 entries */, 4096) = 104
> getdents64(3, /* 0 entries */, 4096) = 0
Why dont you write a simple program which makes call to
open,read,write & others you want to test. That would not make these
unnecessary calls.
Regards
Ram Gupta
prev parent reply other threads:[~2006-02-09 21:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-08 23:39 kapil a
2006-02-09 0:01 ` Avishay Traeger
[not found] ` <ef2d59350602081611h4492bf47ne24e3d591efd29e7@mail.gmail.com>
2006-02-09 0:13 ` kapil a
2006-02-09 1:15 ` Bernd Eckenfels
[not found] ` <1139447727.4902.13.camel@rockstar.fsl.cs.sunysb.edu>
2006-02-09 17:57 ` kapil a
2006-02-09 21:54 ` Ram Gupta [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=728201270602091354r7bc145c7i35e0b90ebf3d3af4@mail.gmail.com \
--to=ram.gupta5@gmail.com \
--cc=atraeger@cs.sunysb.edu \
--cc=kapilann@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lloyd@randombit.net \
/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®