blockdev state, module and test
Merge pull request #10337 from bemehow/blockdev

blockdev state, module and test