]> 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)
commit92936a5b5f56199fd25432337b57dd329d4897d2
tree5d1db3ac26d31e062e383e012acd949ee5fc992a
parentc1dc0601b15afb9963e99051dc417bace8e190ae
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