Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1182142

Re: [GIT PULL] ext4 bug fixes for 4.2-rc2

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Jörg-Volker Peetz <jvpeetz@web.de>
Newsgroups linux.kernel
Subject Re: [GIT PULL] ext4 bug fixes for 4.2-rc2
Date Sat, 11 Jul 2015 14:20:01 +0200
Message-ID <pL1V7-33F-7@gated-at.bofh.it> (permalink)
References <pJ078-81a-1@gated-at.bofh.it>
X-Original-To Theodore Ts'o <tytso@mit.edu>, linux-kernel@vger.kernel.org, linux-ext4@vger.kernel.org
X-Greylist delayed 336 seconds by postgrey-1.27 at vger.kernel.org; Sat, 11 Jul 2015 08:13:02 EDT
MIME-Version 1.0
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 robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 53
Organization linux.* mail to news gateway
X-Original-Date Sat, 11 Jul 2015 14:07:10 +0200
X-Original-Message-ID <55A106EE.3050204@web.de>
X-Original-Newsgroups gmane.comp.file-systems.ext4
X-Original-References <20150705215312.GE8628@thunk.org>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref aioe.org linux.kernel:1182142

Show key headers only | View raw


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)
> 
<snip>

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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [GIT PULL] ext4 bug fixes for 4.2-rc2 Jörg-Volker Peetz <jvpeetz@web.de> - 2015-07-11 14:20 +0200

csiph-web