public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
From: Badari Pulavarty <pbadari@gmail.com>
To: linux-ext4 <linux-ext4@vger.kernel.org>
Cc: Szabolcs Szakacsits <szaka@ntfs-3g.org>
Subject: ext4 not updating ctime on truncate ?
Date: Tue, 08 Apr 2008 08:37:49 -0700	[thread overview]
Message-ID: <1207669069.18386.6.camel@badari-desktop> (raw)
In-Reply-To: <1207587843.31073.3.camel@badari-desktop>


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



  reply	other threads:[~2008-04-08 15:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.4.62.0804022313390.664@tamago.serverit.net>
     [not found] ` <20080402222344.GC23382@mail.oracle.com>
2008-04-03  4:12   ` [ANNOUNCEMENT] Linux POSIX file system test suite Szabolcs Szakacsits
     [not found]     ` <Pine.LNX.4.62.0804030705050.12223-03lVS0d9f+JcfUEgzQKStNHuzzzSOjJt@public.gmane.org>
2008-04-03 16:48       ` Joel Becker
2008-04-03 16:51       ` Amar S. Tumballi
     [not found] ` <1207247251.30407.59.camel@dyn9047017100.beaverton.ibm.com>
     [not found]   ` <1207247251.30407.59.camel-Tq0y/nC7FQqofirLTBlK79w6IDGaBKkJqyM6JfAXOaQ@public.gmane.org>
2008-04-06 23:34     ` Szabolcs Szakacsits
2008-04-07 17:04       ` Badari Pulavarty
2008-04-08 15:37         ` Badari Pulavarty [this message]
2008-04-08 15:40           ` ext4 not updating ctime on truncate ? Eric Sandeen
     [not found] ` <20080404003330.GW103491721@sgi.com>
     [not found]   ` <20080404065109.GW108924158@sgi.com>
     [not found]     ` <20080404065109.GW108924158-sJ/iWh9BUns@public.gmane.org>
2008-04-06 23:51       ` [ANNOUNCEMENT] Linux POSIX file system test suite Szabolcs Szakacsits

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1207669069.18386.6.camel@badari-desktop \
    --to=pbadari@gmail.com \
    --cc=linux-ext4@vger.kernel.org \
    --cc=szaka@ntfs-3g.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox