]> git.baikalelectronics.ru Git - kernel.git/commit
mtip32xx: Add debugfs entry device_status
authorAsai Thambi S P <asamymuthupa@micron.com>
Wed, 3 Apr 2013 14:26:21 +0000 (19:56 +0530)
committerJens Axboe <axboe@kernel.dk>
Wed, 3 Apr 2013 19:54:02 +0000 (21:54 +0200)
commitd75b594d25dc0b16b8ebca9c5bb388e7bb1ed7cb
tree5d1db3ac26d31e062e383e012acd949ee5fc992a
parentddda4656d5c5ac0f98a0d1c350703818012d5226
mtip32xx: Add debugfs entry device_status

This patch adds a new debugfs entry 'device_status' in
/sys/kernel/debug/rssd. The value of this entry shows
devices online and those in the process of removing.

Signed-off-by: Sam Bradshaw <sbradshaw@micron.com>
Signed-off-by: Asai Thambi S P <asamymuthupa@micron.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/mtip32xx/mtip32xx.c
drivers/block/mtip32xx/mtip32xx.h