View previous topic :: View next topic |
Author |
Message |
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
Posted: Sat Jul 25, 2015 3:28 pm Post subject: Potential silent data corruption on 3.19, 4.0, 4.1+ |
|
|
[patch] Revert "block: remove artifical max_hw_sectors cap"
Quote: | This reverts commit 34b48db66e08, which caused significant iozone
performance regressions and uncovered a silent data corruption
bug in at least one disk.
For SAN storage, we've seen initial write and re-write performance drop
25-50% across all I/O sizes. On locally attached storage, we've seen
regressions of 40% for all I/O types, but only for I/O sizes larger than
1MB.
In addition to the performance issues, we've also seen data corruption
on one disk/hba combination. See
http://marc.info/?l=linux-ide&m=143680539400526&w=2
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
|
http://marc.info/?l=linux-kernel&m=143741984014073&w=2
[PATCH] libata: add ATA_HORKAGE_MAX_SEC_1024 to revert back to previous max_sectors limit
Quote: | Since no longer limiting max_sectors to BLK_DEF_MAX_SECTORS (commit 34b48db66e08),
data corruption may occur on ST380013AS drive configured on 82801JI (ICH10 Family)
SATA controller. This patch will allow the driver to limit max_sectors as before
# cat /sys/block/sdb/queue/max_sectors_kb
512
I was able to double the max_sectors_kb value up to 16384 on linux-4.2.0-rc2
before seeing corruption, but seems safer to use previous limit. Without this
patch max_sectors_kb will be 32767.
Reported-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: David Milburn <dmilburn@redhat.com>
---
drivers/ata/libata-core.c | 7 +++++++
include/linux/ata.h | 1 +
include/linux/libata.h | 1 +
3 files changed, 9 insertions(+) |
http://marc.info/?l=linux-ide&m=143680539400526&w=2
The previous revert exists in Linus' tree since October 2014
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=34b48db66e08 _________________ https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa
Hardcore Gentoo Linux user since 2004 |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|