ext4 not updating ctime on truncate ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I ran Linux POSIX filesystem test suite released by  Szabolcs Szakacsits
on ext4. I get one failure on ext4.

Failed Test                     Stat Wstat Total Fail  Failed  List of
Failed
-------------------------------------------------------------------------------
/root/posix/tests/truncate/00.t               21    1   4.76%  15

Looking at the test, its complaining that ext4 is not updating ctime
for truncate. Is this a known issue ?

# successful truncate(2) updates ctime.
expect 0 create ${n0} 0644
ctime1=`${fstest} stat ${n0} ctime`
sleep 1
expect 0 truncate ${n0} 123
ctime2=`${fstest} stat ${n0} ctime`
test_check $ctime1 -lt $ctime2


Thanks,
Badari


--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux