Re: [PATCH] mtd:avoid blktrans_open/release race and avoid insmod ftl.ko deadlock

2017-03-20 Thread Alexander Sverdlin
Hello! On 17/03/17 02:33, Gu Zheng wrote: > this modification can fix the is issue in commit > 857814ee65dbc942b18b2dc713124043035e "mtd: fix: avoid race condition I would propose to revert both above commit and the original offender 008c751e, which aims for questionable module removal

Re: [PATCH] mtd:avoid blktrans_open/release race and avoid insmod ftl.ko deadlock

2017-03-20 Thread Alexander Sverdlin
Hello! On 17/03/17 02:33, Gu Zheng wrote: > this modification can fix the is issue in commit > 857814ee65dbc942b18b2dc713124043035e "mtd: fix: avoid race condition I would propose to revert both above commit and the original offender 008c751e, which aims for questionable module removal

[PATCH] mtd:avoid blktrans_open/release race and avoid insmod ftl.ko deadlock

2017-03-16 Thread Gu Zheng
this modification can fix the is issue in commit 857814ee65dbc942b18b2dc713124043035e "mtd: fix: avoid race condition when accessing mtd->usecount ",also can solve the issue about it happen dealock when ismod ftl.ko. the original process is as follows: init_ftl register_mtd_blktrans

[PATCH] mtd:avoid blktrans_open/release race and avoid insmod ftl.ko deadlock

2017-03-16 Thread Gu Zheng
this modification can fix the is issue in commit 857814ee65dbc942b18b2dc713124043035e "mtd: fix: avoid race condition when accessing mtd->usecount ",also can solve the issue about it happen dealock when ismod ftl.ko. the original process is as follows: init_ftl register_mtd_blktrans