All of lore.kernel.org
 help / color / mirror / Atom feed
From: The Ghost <the-ghost@inbox.ru>
To: linux-ext4@vger.kernel.org
Subject: Does ext4 write anything during reading with relatime?
Date: Sat, 05 Dec 2015 14:03:14 +0300	[thread overview]
Message-ID: <5662C472.2050902@inbox.ru> (raw)

When mounted read-only, naturally, reading from an ext4 filesystem does 
not cause any write operations. But if I mount it read-write and try to 
read from it, then apparently some write operations are issued, because 
my "write-mostly" drive in a RAID1 array spins up. Now, I understand 
that apparently the mount operation itself does write something, and I 
do mount it with a "relatime" option, but I'm just reading stuff over 
and over again - it shouldn't be caused by atime updating. Also, a bug 
with "write-mostly" finally got fixed, and I'm using a fixed kernel 
(latest 3.16 from Debian Jessie-backports).

I just want someone to explain what's happening or direct me towards 
some information about that, because I just want to understand. :) And I 
don't know any means to find out myself... if there are any, those would 
require much better understanding of filesystems than I have...


-- 
The Ghost

             reply	other threads:[~2015-12-05 11:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-05 11:03 The Ghost [this message]
2015-12-06 21:14 ` Does ext4 write anything during reading with relatime? Theodore Ts'o
2015-12-07 21:42   ` The Ghost
2015-12-07 23:19     ` Theodore Ts'o
2015-12-08  0:44       ` The Ghost

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5662C472.2050902@inbox.ru \
    --to=the-ghost@inbox.ru \
    --cc=linux-ext4@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.