From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753281AbbGKMNE (ORCPT ); Sat, 11 Jul 2015 08:13:04 -0400 Received: from mailout05.t-online.de ([194.25.134.82]:38906 "EHLO mailout05.t-online.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753022AbbGKMNC (ORCPT ); Sat, 11 Jul 2015 08:13:02 -0400 X-Greylist: delayed 336 seconds by postgrey-1.27 at vger.kernel.org; Sat, 11 Jul 2015 08:13:02 EDT Message-ID: <55A106EE.3050204@web.de> Date: Sat, 11 Jul 2015 14:07:10 +0200 From: =?windows-1252?Q?J=F6rg-Volker_Peetz?= MIME-Version: 1.0 Newsgroups: gmane.comp.file-systems.ext4 To: "Theodore Ts'o" , linux-kernel@vger.kernel.org, linux-ext4@vger.kernel.org Subject: Re: [GIT PULL] ext4 bug fixes for 4.2-rc2 References: <20150705215312.GE8628@thunk.org> In-Reply-To: <20150705215312.GE8628@thunk.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-ID: Sy61RQZrQh3tNd5rQox5RA82NQcM1NJ+3Nun+L3D4e0RZgYeTSBkoJqgDAVktoegUL X-TOI-MSGID: f2c196b0-6dfc-407d-a863-e333a8896f3f Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Theodore Ts'o wrote on 07/05/2015 23:53: > The following changes since commit a2fd66d069d86d793e9d39d4079b96f46d13f237: > > ext4: set lazytime on remount if MS_LAZYTIME is set by mount (2015-06-23 11:03:54 -0400) > Hi Ted, I'm testing this patch and "ext4: set lazytime on remount if MS_LAZYTIME is set by mount" on top of stable kernel 4.1.2. So far no problems with lazytime enabled. Thanks for that :-) But remounting with mount version 2.26.2 sucks. As promised, lazytime can be enabled. But disabling it or trying to switch between atime, relatime, and noatime doesn't work. Starting from # grep sda /proc/mounts /dev/sda2 /home ext4 rw,lazytime,noatime,nobarrier,errors=remount-ro 0 0 some strace output: # strace -o /tmp/st mount -o remount,nolazytime /home # grep ^mount /tmp/st mount("/dev/sda2", "/home", 0x2152780, MS_MGC_VAL|MS_REMOUNT|MS_NOATIME, "nobarrier,errors=remount-ro") = 0 # strace -o /tmp/st mount -o remount,relatime /home # grep ^mount /tmp/st mount("/dev/sda2", "/home", 0x1543780, MS_REMOUNT|MS_RELATIME|MS_NOATIME, "nobarrier,errors=remount-ro") = 0 # strace -o /tmp/st mount -o remount,atime /home # grep ^mount /tmp/st mount("/dev/sda2", "/home", 0x1534780, MS_MGC_VAL|MS_REMOUNT, "nobarrier,errors=remount-ro") = 0 The contents of /proc/mounts isn't changed by all this :-( Or should I contact the util-linux developers? -- Regards, Jörg.