* Re: [neilbrown/mdadm] Add udev-md-raid-safe-timeouts.rules (#32) [not found] <neilbrown/mdadm/pull/32@github.com> @ 2017-11-03 6:37 ` NeilBrown 2017-12-18 15:32 ` Jes Sorensen 0 siblings, 1 reply; 4+ messages in thread From: NeilBrown @ 2017-11-03 6:37 UTC (permalink / raw) To: Jes Sorensen; +Cc: Linux Raid [-- Attachment #1: Type: text/plain, Size: 1667 bytes --] This pull request appeared on my github mdadm ... thing. I haven't looked in detail. If someone would like to review it or something, that would be nice. Thanks, NeilBrown On Fri, Nov 03 2017, jonathanunderwood wrote: > These udev rules attempt to set a safe kernel controller > timeout for disks containing RAID level 1 or higher > partitions for commodity disks which do not have SCTERC > capability, or do have it but it is disabled. > > No attempt is made to change the STCERC settings on devices > which support it. > > This attempts to mitigate the problem described here: > > https://raid.wiki.kernel.org/index.php/Timeout_Mismatch > http://strugglers.net/~andy/blog/2015/11/09/linux-software-raid-and-drive-timeouts/ > > where the kernel controller may timeout on a read from a > disk after the default timeout of 30 seconds and consequently > cause mdraid to regard the disk as dead and eject it from the > RAID array. > > The mitigation is to set the timeout to 180 seconds for disks > which contain a RAID level 1 or higher partition. > You can view, comment on, or merge this pull request online at: > > https://github.com/neilbrown/mdadm/pull/32 > > -- Commit Summary -- > > * Add udev-md-raid-safe-timeouts.rules > > -- File Changes -- > > A udev-md-raid-safe-timeouts.rules (61) > > -- Patch Links -- > > https://github.com/neilbrown/mdadm/pull/32.patch > https://github.com/neilbrown/mdadm/pull/32.diff > > -- > You are receiving this because you are subscribed to this thread. > Reply to this email directly or view it on GitHub: > https://github.com/neilbrown/mdadm/pull/32 [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 832 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [neilbrown/mdadm] Add udev-md-raid-safe-timeouts.rules (#32) 2017-11-03 6:37 ` [neilbrown/mdadm] Add udev-md-raid-safe-timeouts.rules (#32) NeilBrown @ 2017-12-18 15:32 ` Jes Sorensen 2017-12-18 18:03 ` Jonathan Underwood 0 siblings, 1 reply; 4+ messages in thread From: Jes Sorensen @ 2017-12-18 15:32 UTC (permalink / raw) To: NeilBrown; +Cc: Linux Raid, jonathan.underwood On 11/03/2017 02:37 AM, NeilBrown wrote: > > This pull request appeared on my github mdadm ... thing. > > I haven't looked in detail. If someone would like to review it > or something, that would be nice. Finally got around to looking at this. I am not hugely familiar with smartctl, but it looks reasonable to me, especially since they won't be auto-installed. Jonathan, please make sure to always CC linux-raid on all mdadm related patches. Note I prefer patches to git pull requests. Thanks, Jes > Thanks, > NeilBrown > > On Fri, Nov 03 2017, jonathanunderwood wrote: > >> These udev rules attempt to set a safe kernel controller >> timeout for disks containing RAID level 1 or higher >> partitions for commodity disks which do not have SCTERC >> capability, or do have it but it is disabled. >> >> No attempt is made to change the STCERC settings on devices >> which support it. >> >> This attempts to mitigate the problem described here: >> >> https://raid.wiki.kernel.org/index.php/Timeout_Mismatch >> http://strugglers.net/~andy/blog/2015/11/09/linux-software-raid-and-drive-timeouts/ >> >> where the kernel controller may timeout on a read from a >> disk after the default timeout of 30 seconds and consequently >> cause mdraid to regard the disk as dead and eject it from the >> RAID array. >> >> The mitigation is to set the timeout to 180 seconds for disks >> which contain a RAID level 1 or higher partition. >> You can view, comment on, or merge this pull request online at: >> >> https://github.com/neilbrown/mdadm/pull/32 >> >> -- Commit Summary -- >> >> * Add udev-md-raid-safe-timeouts.rules >> >> -- File Changes -- >> >> A udev-md-raid-safe-timeouts.rules (61) >> >> -- Patch Links -- >> >> https://github.com/neilbrown/mdadm/pull/32.patch >> https://github.com/neilbrown/mdadm/pull/32.diff >> >> -- >> You are receiving this because you are subscribed to this thread. >> Reply to this email directly or view it on GitHub: >> https://github.com/neilbrown/mdadm/pull/32 ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [neilbrown/mdadm] Add udev-md-raid-safe-timeouts.rules (#32) 2017-12-18 15:32 ` Jes Sorensen @ 2017-12-18 18:03 ` Jonathan Underwood 2018-01-21 21:11 ` Jes Sorensen 0 siblings, 1 reply; 4+ messages in thread From: Jonathan Underwood @ 2017-12-18 18:03 UTC (permalink / raw) To: Jes Sorensen; +Cc: NeilBrown, Linux Raid On 18 December 2017 at 15:32, Jes Sorensen <jes.sorensen@gmail.com> wrote: > On 11/03/2017 02:37 AM, NeilBrown wrote: >> >> This pull request appeared on my github mdadm ... thing. >> >> I haven't looked in detail. If someone would like to review it >> or something, that would be nice. > > Finally got around to looking at this. I am not hugely familiar with > smartctl, but it looks reasonable to me, especially since they won't be > auto-installed. > > Jonathan, please make sure to always CC linux-raid on all mdadm related > patches. Note I prefer patches to git pull requests. Will do, thanks for the heads up. Let me know if you need anything further for this patch. Cheers, Jonathan ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [neilbrown/mdadm] Add udev-md-raid-safe-timeouts.rules (#32) 2017-12-18 18:03 ` Jonathan Underwood @ 2018-01-21 21:11 ` Jes Sorensen 0 siblings, 0 replies; 4+ messages in thread From: Jes Sorensen @ 2018-01-21 21:11 UTC (permalink / raw) To: Jonathan Underwood; +Cc: NeilBrown, Linux Raid On 12/18/2017 01:03 PM, Jonathan Underwood wrote: > On 18 December 2017 at 15:32, Jes Sorensen <jes.sorensen@gmail.com> wrote: >> On 11/03/2017 02:37 AM, NeilBrown wrote: >>> >>> This pull request appeared on my github mdadm ... thing. >>> >>> I haven't looked in detail. If someone would like to review it >>> or something, that would be nice. >> >> Finally got around to looking at this. I am not hugely familiar with >> smartctl, but it looks reasonable to me, especially since they won't be >> auto-installed. >> >> Jonathan, please make sure to always CC linux-raid on all mdadm related >> patches. Note I prefer patches to git pull requests. > > Will do, thanks for the heads up. Let me know if you need anything > further for this patch. Jonathan, Catching up on old patches - I was going to apply this, but I cannot since it lacks the obligatory signed-off-by line. Mind emailing an updated version? Thanks, Jes ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-01-21 21:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <neilbrown/mdadm/pull/32@github.com>
2017-11-03 6:37 ` [neilbrown/mdadm] Add udev-md-raid-safe-timeouts.rules (#32) NeilBrown
2017-12-18 15:32 ` Jes Sorensen
2017-12-18 18:03 ` Jonathan Underwood
2018-01-21 21:11 ` Jes Sorensen
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox