From: "홍신 shin hong" <hongshin@gmail.com>
To: linux-ext4@vger.kernel.org
Subject: a question for i_inode's i_size in ext2
Date: Fri, 26 Sep 2008 13:53:24 +0900 [thread overview]
Message-ID: <2014bcab0809252153v65ebd234le5de8ae27181ae1e@mail.gmail.com> (raw)
In-Reply-To: <2014bcab0809252152i6fef9babx242e821c4f0d5a7b@mail.gmail.com>
Thank you for the answering.
In ext2, it seems to me that inode's i_size field can be accessed
without holding i_mutex
nor thorugh i_size_read function.
For example, in ext2_update_inode() can be invoked without holding i_mutex.
However, it freely access i_size field.
Are these accesses can race with each others?
Sincerely
Shin Hong
next prev parent reply other threads:[~2008-09-26 4:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-19 7:21 a question for i_inode's i_size in ext2 홍신 shin hong
2008-09-19 23:32 ` Theodore Tso
2008-09-20 3:25 ` Jan Kara
2008-09-20 6:35 ` Theodore Tso
[not found] ` <2014bcab0809252152i6fef9babx242e821c4f0d5a7b@mail.gmail.com>
2008-09-26 4:53 ` 홍신 shin hong [this message]
2008-09-26 14:41 ` Theodore Tso
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=2014bcab0809252153v65ebd234le5de8ae27181ae1e@mail.gmail.com \
--to=hongshin@gmail.com \
--cc=linux-ext4@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