From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?SsO2cmctVm9sa2VyIFBlZXR6?= Subject: Re: ext4 lazytime: ctime of some files changed Date: Wed, 13 May 2015 18:20:35 +0200 Message-ID: References: <55531AE3.7030704@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE To: linux-fsdevel@vger.kernel.org Return-path: Received: from plane.gmane.org ([80.91.229.3]:58882 "EHLO plane.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751648AbbEMQUn (ORCPT ); Wed, 13 May 2015 12:20:43 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YsZOj-0006xM-J7 for linux-fsdevel@vger.kernel.org; Wed, 13 May 2015 18:20:41 +0200 Received: from p5b0a06df.dip0.t-ipconnect.de ([91.10.6.223]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 May 2015 18:20:41 +0200 Received: from jvpeetz by p5b0a06df.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 May 2015 18:20:41 +0200 In-Reply-To: <55531AE3.7030704@web.de> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: J=C3=B6rg-Volker Peetz wrote on 05/13/2015 11:35: > Dear Ted, >=20 > on my laptop with ext4 fs (on SSD) I started to try the lazytime moun= t option > using a self compiled kernel 4.0.2 on a debian system with mount vers= ion 2.26.2. > Before that, I've used the noatime mount option. >=20 > After restarting the system with an adapted /etc/fstab file and the k= ernel > parameter "rootflags=3Dlazytime", the relatime mount option was also = set. I > changed that by commanding "mount -o remount,strictatime /", etc. > By accident, I noticed that some files had a modified ctime and mtime= although > they were not changed or modified. >=20 > Has anybody else experienced that? Do I miss a patch? >=20 > Mount options in fstab: nobarrier,lazytime,errors=3Dremount-ro > The filesystems are ext4 on a primary partition of the SSD with defau= lt mount > option journal_data_writeback. I created them in Feb 2011. >=20 > By the way, the command "mount -o remount,lazytime /" does not do the= switch to > lazytime. >=20 > And thanks for your tireless work on Linux. >=20 After writing the above, I encountered another accident regarding two f= iles of the emacs24 package of which the mtime got changed. I tried to repair this by using versions of the two files with the corr= ect mtime in the /tmp directory and commanded > touch -r /tmp/debian-ispell.elc /usr/share/emacs24/site-lisp/dictionaries-common/debian-ispell.elc > touch -r /tmp/ess-noweb-font-lock-mode.elc /usr/share/emacs24/site-lisp/ess/ess-noweb-font-lock-mode.elc A few hours later I unpacked and tested a tar archive by commanding s.t= =2E like > tar xf linux-4.0.tar.xz > sync > echo 3 >/proc/sys/vm/drop_caches > tar df linux-4.0.tar.xz Thereafter, the two emacs package files again had a wrong mtime (which = by the way shows when I start emacs). Could this be due to the lazytime mount option? --=20 Regards, jvp. -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel= " in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html