FS#32122 - [linux] backport fix for parallel module insertion race

Attached to Project: Arch Linux
Opened by Dave Reisner (falconindy) - Saturday, 20 October 2012, 19:16 GMT
Last edited by Tobias Powalowski (tpowa) - Monday, 22 October 2012, 13:53 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Please consider backporting the following patches from 3.7-mainline:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=6f13909f4fe9652f1
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=9bb9c3be568346538

This fixes a race condition wherein modprobe will not wait if a module's initstate is "coming" or "going", which can lead to mount failures. module-init-tools worked around this with a fairly silly sleep loop which kmod was not willing to (re)implement:

http://git.kernel.org/?p=utils/kernel/module-init-tools/module-init-tools.git;a=blob;f=modprobe.c;h=5464f45d2cc;hb=HEAD#l752
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Monday, 22 October 2012, 13:53 GMT
Reason for closing:  Fixed
Additional comments about closing:  3.0.47-1 and 3.6.3-1

Loading...