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)
commit0caff00390db41c98976e65f2ebc3eeaa4861358
tree5d1db3ac26d31e062e383e012acd949ee5fc992a
parent6b06d35f3f63dbfde71c792b8584225f3d1fc7f2
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