Hi, <div>I have a strange problem with cache size on XFS. I tried to debug it and I found something.</div><div><br></div><div>First there is a test request for 1 file which is 10 MB. </div><div>In the function ngx_http_file_cache_update I have counted size 17039360 because st_blocks = 33280, st_size = 10486040.</div>
<div><br></div><div>After that I am trying to restart the server and cache manager add this size for cache structure but the size is different as follow</div><div>for cache size the increment is with 10489856, st_size = 10486040, st_blocks = 20488</div>
<div><br></div><div>As could be seen st_blocks is different for one and the same file.</div><div>I think the second file size is right but why the first is wrong?</div><div><br></div><div>Thanks in advance</div><div><br></div>
<div>Anatoli Marinov</div>