Searched hist:"601 c0bc4" (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/fs/ubifs/ |
H A D | misc.h | 601c0bc4 Fri Aug 22 06:23:35 CDT 2008 Adrian Hunter <ext-adrian.hunter@nokia.com> UBIFS: allow for racing between GC and TNC
The TNC mutex is unlocked prematurely when reading leaf nodes with non-hashed keys. This is unsafe because the node may be moved by garbage collection and the eraseblock unmapped, although that has never actually happened during stress testing.
This patch fixes the flaw by detecting the race and retrying with the TNC mutex locked.
Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com> 601c0bc4 Fri Aug 22 06:23:35 CDT 2008 Adrian Hunter <ext-adrian.hunter@nokia.com> UBIFS: allow for racing between GC and TNC The TNC mutex is unlocked prematurely when reading leaf nodes with non-hashed keys. This is unsafe because the node may be moved by garbage collection and the eraseblock unmapped, although that has never actually happened during stress testing. This patch fixes the flaw by detecting the race and retrying with the TNC mutex locked. Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
|
H A D | gc.c | 601c0bc4 Fri Aug 22 06:23:35 CDT 2008 Adrian Hunter <ext-adrian.hunter@nokia.com> UBIFS: allow for racing between GC and TNC
The TNC mutex is unlocked prematurely when reading leaf nodes with non-hashed keys. This is unsafe because the node may be moved by garbage collection and the eraseblock unmapped, although that has never actually happened during stress testing.
This patch fixes the flaw by detecting the race and retrying with the TNC mutex locked.
Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com> 601c0bc4 Fri Aug 22 06:23:35 CDT 2008 Adrian Hunter <ext-adrian.hunter@nokia.com> UBIFS: allow for racing between GC and TNC The TNC mutex is unlocked prematurely when reading leaf nodes with non-hashed keys. This is unsafe because the node may be moved by garbage collection and the eraseblock unmapped, although that has never actually happened during stress testing. This patch fixes the flaw by detecting the race and retrying with the TNC mutex locked. Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
|
H A D | tnc.c | 601c0bc4 Fri Aug 22 06:23:35 CDT 2008 Adrian Hunter <ext-adrian.hunter@nokia.com> UBIFS: allow for racing between GC and TNC
The TNC mutex is unlocked prematurely when reading leaf nodes with non-hashed keys. This is unsafe because the node may be moved by garbage collection and the eraseblock unmapped, although that has never actually happened during stress testing.
This patch fixes the flaw by detecting the race and retrying with the TNC mutex locked.
Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com> 601c0bc4 Fri Aug 22 06:23:35 CDT 2008 Adrian Hunter <ext-adrian.hunter@nokia.com> UBIFS: allow for racing between GC and TNC The TNC mutex is unlocked prematurely when reading leaf nodes with non-hashed keys. This is unsafe because the node may be moved by garbage collection and the eraseblock unmapped, although that has never actually happened during stress testing. This patch fixes the flaw by detecting the race and retrying with the TNC mutex locked. Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
|
H A D | ubifs.h | 601c0bc4 Fri Aug 22 06:23:35 CDT 2008 Adrian Hunter <ext-adrian.hunter@nokia.com> UBIFS: allow for racing between GC and TNC
The TNC mutex is unlocked prematurely when reading leaf nodes with non-hashed keys. This is unsafe because the node may be moved by garbage collection and the eraseblock unmapped, although that has never actually happened during stress testing.
This patch fixes the flaw by detecting the race and retrying with the TNC mutex locked.
Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com> 601c0bc4 Fri Aug 22 06:23:35 CDT 2008 Adrian Hunter <ext-adrian.hunter@nokia.com> UBIFS: allow for racing between GC and TNC The TNC mutex is unlocked prematurely when reading leaf nodes with non-hashed keys. This is unsafe because the node may be moved by garbage collection and the eraseblock unmapped, although that has never actually happened during stress testing. This patch fixes the flaw by detecting the race and retrying with the TNC mutex locked. Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
|