linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* sync issues in 4.3-rc1?
@ 2015-09-18 16:46 Artem Bityutskiy
  2015-09-18 16:51 ` Bityutskiy, Artem
  0 siblings, 1 reply; 2+ messages in thread
From: Artem Bityutskiy @ 2015-09-18 16:46 UTC (permalink / raw)
  To: LKML

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: sync issues in 4.3-rc1?
  2015-09-18 16:46 sync issues in 4.3-rc1? Artem Bityutskiy
@ 2015-09-18 16:51 ` Bityutskiy, Artem
  0 siblings, 0 replies; 2+ messages in thread
From: Bityutskiy, Artem @ 2015-09-18 16:51 UTC (permalink / raw)
  To: linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 1004 bytes --]

On Fri, 2015-09-18 at 19:46 +0300, Artem Bityutskiy wrote:
> Hi,
> 
> I observe a problem in 4.3-rc1 which looks like there are issues with
> sync - it does not really sync all.

The FS is ext4, a plain partition mounted (no lvm, no encryption, etc).
The disk is SATA SSD, but I believe I observed this on a SATA HDD too
today (I have several machines).

-- 
Best Regards,
Artem Bityutskiy
---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki 
Business Identity Code: 0357606 - 4 
Domiciled in Helsinki 

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
ÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ\x17¥Šwÿº{.nÇ+‰·¥Š{±þG«éÿŠ{ayº\x1dʇڙë,j\a­¢f£¢·hšïêÿ‘êçz_è®\x03(­éšŽŠÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?™¨è­Ú&£ø§~á¶iO•æ¬z·švØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?–I¥

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-18 16:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-18 16:46 sync issues in 4.3-rc1? Artem Bityutskiy
2015-09-18 16:51 ` Bityutskiy, Artem

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).