But until now, I don't try to eject SD card while reading or writing my SD card in real usage but work.
Recently, our QA team find out some SD issues from eject SD card.
Most of them are under writing or reading SD card.
Fortunately, Qualcomm just merge one solution for their platform.
After verifying, some issue could be solved by this patch.
Because of this, I didn't try to find out more solution now.
I still want to solve more possible issue on it but I got some other bugs to finish.
Even with the solution, I still don't recommend user remove your SD card while using SD.
It will not kill the system and not cause kernel panic.
But it will damage your file system possibly.
The worst case could be all the file in SD gone.
Some much worse case should be verified..... SD card would be physically damaged by the unsuitable usage.
The recommend steps is following:
1. Unmount your SD card in setting page.
2. Remove your SD.
3. Insert a new one. (Even another one)
Some device will even suggest remove SD after powering-off.
* 5/8, under recently test, it still cause system crash sometimes if we swap sd very fast.