In message <[EMAIL PROTECTED]>,Kris Van Hees writes:
>I wonder if ext2 itself might defer truncates as well in newer kernels.  I'll
>have a look at that.

it looks like we are getting bitten by preallocation in the ext2 
filesystem combined with an optimization in inode_setattr().  2.6's
inode_setattr has the following test:

                if (attr->ia_size != i_size_read(inode)) {
                        error = vmtruncate(inode, attr->ia_size);
                        if (error || (ia_valid == ATTR_SIZE))
                                goto out;
                } else {

so ext2_truncate() isnt called on cache file open to get rid of 
the preallocations.   or so i think.
_______________________________________________
OpenAFS-info mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-info

Reply via email to