Revision 96b26c8c64c7a30488b8b404f7a63346df4c3bff authored by Mikulas Patocka on 08 January 2015, 23:52:26 UTC, committed by Mike Snitzer on 24 January 2015, 19:50:08 UTC
Commit ffcc393641 ("dm: enhance internal suspend and resume interface") attempted to handle multiple internal suspends on the same device, but it did that incorrectly. When these functions are called in this order on the same device the device is no longer suspended, but it should be: dm_internal_suspend_noflush dm_internal_suspend_noflush dm_internal_resume Fix this bug by maintaining an 'internal_suspend_count' and resuming the device when this count drops to zero. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
1 parent a59db67
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 365 bytes |
Makefile | -rw-r--r-- | 261 bytes |
async_memcpy.c | -rw-r--r-- | 3.2 KB |
async_pq.c | -rw-r--r-- | 12.7 KB |
async_raid6_recov.c | -rw-r--r-- | 14.9 KB |
async_tx.c | -rw-r--r-- | 7.7 KB |
async_xor.c | -rw-r--r-- | 9.8 KB |
raid6test.c | -rw-r--r-- | 6.5 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...