public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
* a question for i_inode's i_size in ext2
@ 2008-09-19  7:21 홍신 shin hong
  2008-09-19 23:32 ` Theodore Tso
  2008-09-20  3:25 ` Jan Kara
  0 siblings, 2 replies; 6+ messages in thread
From: 홍신 shin hong @ 2008-09-19  7:21 UTC (permalink / raw)
  To: linux-ext4

Dear ext2 maintainers

  I have a question of inode's i_size. I found that it is hard to find
any consistent synchronization mechanism that protects inode's i_size
field.
  Is there any lock or synchronization mechanism that consistently
protects i_size fields of inode objects to avoid data race?
  In inode's definition in /include/linux/fs.h, there is comment that
i_lock protects i_size but it is not clear.

Sincerely
Shin Hong

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-09-26 14:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2008-09-26 14:41       ` Theodore Tso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox