Re: The value displayed by 'ls -s' command is strange.

2010-12-09 Thread Miao Xie
On wed, 08 Dec 2010 08:53:55 +0900, Tsutomu Itoh wrote: I think that the disk allocation size of each file becomes a monotone increase when the file is made. But, it sometimes return to 0. Is it correct? The # of blocks is: stat-blocks = (inode_get_bytes(inode) +

Re: The value displayed by 'ls -s' command is strange.

2010-12-07 Thread Li Zefan
Tsutomu Itoh wrote: Hi, I think that the disk allocation size of each file becomes a monotone increase when the file is made. But, it sometimes return to 0. Is it correct? The # of blocks is: stat-blocks = (inode_get_bytes(inode) +

Re: The value displayed by 'ls -s' command is strange.

2010-12-07 Thread Chris Mason
Excerpts from Tsutomu Itoh's message of 2010-12-07 02:59:52 -0500: Hi, I think that the disk allocation size of each file becomes a monotone increase when the file is made. But, it sometimes return to 0. Is it correct? Well, there's a window during the processing of delayed allocation

Re: The value displayed by 'ls -s' command is strange.

2010-12-07 Thread Mike Fedyk
On Tue, Dec 7, 2010 at 10:44 AM, Chris Mason chris.ma...@oracle.com wrote: Excerpts from Tsutomu Itoh's message of 2010-12-07 02:59:52 -0500: Hi, I think that the disk allocation size of each file becomes a monotone increase when the file is made. But, it sometimes return to 0.  Is it

Re: The value displayed by 'ls -s' command is strange.

2010-12-07 Thread Chris Mason
Excerpts from Mike Fedyk's message of 2010-12-07 14:16:55 -0500: On Tue, Dec 7, 2010 at 10:44 AM, Chris Mason chris.ma...@oracle.com wrote: Excerpts from Tsutomu Itoh's message of 2010-12-07 02:59:52 -0500: Hi, I think that the disk allocation size of each file becomes a monotone

Re: The value displayed by 'ls -s' command is strange.

2010-12-07 Thread Mike Fedyk
On Tue, Dec 7, 2010 at 11:29 AM, Chris Mason chris.ma...@oracle.com wrote: Excerpts from Mike Fedyk's message of 2010-12-07 14:16:55 -0500: On Tue, Dec 7, 2010 at 10:44 AM, Chris Mason chris.ma...@oracle.com wrote: Excerpts from Tsutomu Itoh's message of 2010-12-07 02:59:52 -0500: Hi, I

Re: The value displayed by 'ls -s' command is strange.

2010-12-07 Thread Chris Mason
Excerpts from Mike Fedyk's message of 2010-12-07 15:07:08 -0500: On Tue, Dec 7, 2010 at 11:29 AM, Chris Mason chris.ma...@oracle.com wrote: Excerpts from Mike Fedyk's message of 2010-12-07 14:16:55 -0500: On Tue, Dec 7, 2010 at 10:44 AM, Chris Mason chris.ma...@oracle.com wrote:

Re: The value displayed by 'ls -s' command is strange.

2010-12-07 Thread Mike Fedyk
On Tue, Dec 7, 2010 at 12:15 PM, Chris Mason chris.ma...@oracle.com wrote: Excerpts from Mike Fedyk's message of 2010-12-07 15:07:08 -0500: On Tue, Dec 7, 2010 at 11:29 AM, Chris Mason chris.ma...@oracle.com wrote: Excerpts from Mike Fedyk's message of 2010-12-07 14:16:55 -0500: On Tue, Dec

Re: The value displayed by 'ls -s' command is strange.

2010-12-07 Thread Tsutomu Itoh
(2010/12/08 5:15), Chris Mason wrote: Excerpts from Mike Fedyk's message of 2010-12-07 15:07:08 -0500: On Tue, Dec 7, 2010 at 11:29 AM, Chris Mason chris.ma...@oracle.com wrote: Excerpts from Mike Fedyk's message of 2010-12-07 14:16:55 -0500: On Tue, Dec 7, 2010 at 10:44 AM, Chris Mason