All of lore.kernel.org
 help / color / mirror / Atom feed
From: Artem Bityutskiy <dedekind1@gmail.com>
To: LKML <linux-kernel@vger.kernel.org>
Subject: sync issues in 4.3-rc1?
Date: Fri, 18 Sep 2015 19:46:10 +0300	[thread overview]
Message-ID: <1442594770.19983.70.camel@gmail.com> (raw)

Hi,

I observe a problem in 4.3-rc1 which looks like there are issues with
sync - it does not really sync all.

It is Firday night here, and I am dropping a quick report, I did not
spend much time investigating it.

Symptoms:

1. I Run v4.3-rc1 + Fedora 22, most FC22 services disabled, no GUI, 
minimal FC22 system, quite silent.
2. I copy a directory with a bunch of files, let's call it "dir". In 
my case this is just the kernel modules tree (produces with 'make 
modules_install').
3. Run 'halt' or 'poweroff'
4. After the system boots up, very often, but not always, "dir" is 
corrupted.

I did not do strict verification, but corruption seems to be that
files are there, but some are corrupted. I checked one file - xfs.ko -
it starts with a bunch of zero bytes, while the original does not
start with zeroes.

I've done this quick test - run the following short shell script with
4.3-rc1 and in 4.2 and get different results. The system is otherwise
the same just kernel is different.






$ while true; do rm -rf ~/4.3.0-rc1/; cp -r /usr/lib/modules/4.3.0-rc1
~/ && sync && grep Dirty /proc/meminfo; done 

I get 0's more consistently in case of v4.2. It does not necessary mean
anything, but looks suspicious.

Here are the numbers.

v4.2
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:               116 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:               456 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:               160 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:               456 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                72 kB
Dirty:                 0 kB
Dirty:                12 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB


v4.3-rc1
Dirty:               752 kB
Dirty:               752 kB
Dirty:                60 kB
Dirty:               812 kB
Dirty:               688 kB
Dirty:                 0 kB
Dirty:               424 kB
Dirty:                 0 kB
Dirty:               632 kB
Dirty:                 0 kB
Dirty:               272 kB
Dirty:               272 kB
Dirty:                 0 kB
Dirty:               188 kB
Dirty:               940 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:              1624 kB
Dirty:                 0 kB
Dirty:               424 kB
Dirty:               316 kB
Dirty:              1068 kB
Dirty:               316 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:               448 kB
Dirty:                 0 kB
Dirty:               752 kB
Dirty:                 0 kB
Dirty:               424 kB
Dirty:                 0 kB
Dirty:               804 kB
Dirty:               804 kB
Dirty:               804 kB
Dirty:               840 kB
Dirty:               840 kB
Dirty:               888 kB
Dirty:                 0 kB
Dirty:               424 kB
Dirty:               112 kB
Dirty:               112 kB
Dirty:               112 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:               224 kB
Dirty:               276 kB
Dirty:               276 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:               752 kB
Dirty:               872 kB
Dirty:               752 kB
Dirty:                 0 kB
Dirty:               448 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:               544 kB
Dirty:               544 kB
Dirty:               216 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:               448 kB
Dirty:                 0 kB
Dirty:                 0 kB
Dirty:                 0 kB


             reply	other threads:[~2015-09-18 16:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-18 16:46 Artem Bityutskiy [this message]
2015-09-18 16:51 ` sync issues in 4.3-rc1? Bityutskiy, Artem

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=1442594770.19983.70.camel@gmail.com \
    --to=dedekind1@gmail.com \
    --cc=linux-kernel@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.