* ubifs: noatime support?
@ 2018-01-18 19:30 Pavel Machek
2018-01-18 20:44 ` Richard Weinberger
0 siblings, 1 reply; 3+ messages in thread
From: Pavel Machek @ 2018-01-18 19:30 UTC (permalink / raw)
To: kernel list, richard, dedekind1, adrian.hunter, linux-mtd, linux-fsdevel
[-- Attachment #1: Type: text/plain, Size: 703 bytes --]
Hi!
Ubifs seems to have atime support these days:
sb->s_flags |= SB_ACTIVE;
#ifndef CONFIG_UBIFS_ATIME_SUPPORT
sb->s_flags |= SB_NOATIME;
#else
ubifs_msg(c, "full atime support is enabled.");
#endif
Which can be configured at compile-time, but no option to disable it
at runtime. What is going on there?
UBIFS: parse noatime
UBIFS error (ubi1:0 pid 94): ubifs_parse_options.constprop.5:
unrecognized mount option "noatime" e
mount: mounting ubi1:log_volume on /mnt/log failed: Invalid argument
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ubifs: noatime support?
2018-01-18 19:30 ubifs: noatime support? Pavel Machek
@ 2018-01-18 20:44 ` Richard Weinberger
2018-01-18 21:23 ` Pavel Machek
0 siblings, 1 reply; 3+ messages in thread
From: Richard Weinberger @ 2018-01-18 20:44 UTC (permalink / raw)
To: Pavel Machek
Cc: kernel list, dedekind1, adrian.hunter, linux-mtd, linux-fsdevel
Pavel,
Am Donnerstag, 18. Januar 2018, 20:30:15 CET schrieb Pavel Machek:
> Hi!
>
> Ubifs seems to have atime support these days:
>
> sb->s_flags |= SB_ACTIVE;
> #ifndef CONFIG_UBIFS_ATIME_SUPPORT
> sb->s_flags |= SB_NOATIME;
> #else
> ubifs_msg(c, "full atime support is enabled.");
> #endif
>
> Which can be configured at compile-time, but no option to disable it
> at runtime. What is going on there?
>
> UBIFS: parse noatime
> UBIFS error (ubi1:0 pid 94): ubifs_parse_options.constprop.5:
> unrecognized mount option "noatime" e
> mount: mounting ubi1:log_volume on /mnt/log failed: Invalid argument
Filesystems don't parse the "noatime" string, it is job of the mount tool to
translate it to the MS_NOATIME mount flag.
Thanks,
//richard
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ubifs: noatime support?
2018-01-18 20:44 ` Richard Weinberger
@ 2018-01-18 21:23 ` Pavel Machek
0 siblings, 0 replies; 3+ messages in thread
From: Pavel Machek @ 2018-01-18 21:23 UTC (permalink / raw)
To: Richard Weinberger
Cc: kernel list, dedekind1, adrian.hunter, linux-mtd, linux-fsdevel
[-- Attachment #1: Type: text/plain, Size: 1134 bytes --]
On Thu 2018-01-18 21:44:33, Richard Weinberger wrote:
> Pavel,
>
> Am Donnerstag, 18. Januar 2018, 20:30:15 CET schrieb Pavel Machek:
> > Hi!
> >
> > Ubifs seems to have atime support these days:
> >
> > sb->s_flags |= SB_ACTIVE;
> > #ifndef CONFIG_UBIFS_ATIME_SUPPORT
> > sb->s_flags |= SB_NOATIME;
> > #else
> > ubifs_msg(c, "full atime support is enabled.");
> > #endif
> >
> > Which can be configured at compile-time, but no option to disable it
> > at runtime. What is going on there?
> >
> > UBIFS: parse noatime
> > UBIFS error (ubi1:0 pid 94): ubifs_parse_options.constprop.5:
> > unrecognized mount option "noatime" e
> > mount: mounting ubi1:log_volume on /mnt/log failed: Invalid argument
>
> Filesystems don't parse the "noatime" string, it is job of the mount tool to
> translate it to the MS_NOATIME mount flag.
Ahha. I was using busybox version of mount. I guess I should check its
config. Thanks!
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-01-18 21:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-18 19:30 ubifs: noatime support? Pavel Machek
2018-01-18 20:44 ` Richard Weinberger
2018-01-18 21:23 ` Pavel Machek
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.