Subject: mount options lazytime

Good afternoon!
Please tell me these mount options to register properly:

# / was on /dev/sda6 during installation
UUID=d655749d-9d0b-48b9-a255-92efd6a36997 / ext4
errors=remount-ro,relatime,lazytime 0 1

lazytime or relatime,lazytime or you can just leave lazytime ?

Thanks for the answer!

--
Желаю вам поддержки Свыше и успеха!

С уважением,
Ваш Владимир Тимофиев <http://copi.ru/94717/>


2016-08-30 07:14:16

by Dmitry Monakhov

[permalink] [raw]
Subject: Re: mount options lazytime

Владимир Тимофиев <[email protected]> writes:

> Good afternoon!
> Please tell me these mount options to register properly:
>
> # / was on /dev/sda6 during installation
> UUID=d655749d-9d0b-48b9-a255-92efd6a36997 / ext4
> errors=remount-ro,relatime,lazytime 0 1
>
> lazytime or relatime,lazytime or you can just leave lazytime ?
relatime is an option which delay atime update.
lazytime is an option which delay atime and mtime update.
See https://lwn.net/Articles/621046/

You should enable lazytime if you care about latency on write path.
For example io_submit() may block on synchronous mtime update.
> Thanks for the answer!
>
> --
> Желаю вам поддержки Свыше и успеха!
>
> С уважением,
> Ваш Владимир Тимофиев <http://copi.ru/94717/>
> NrybXǧv^)޺{.n+{{x{ayʇڙ,jfhzw j:+vwjmzZ+ݢj"!


Attachments:
signature.asc (472.00 B)