Coly Li 926d19465b bcache: export backing_dev_name via sysfs
This patch export dc->backing_dev_name to sysfs file
/sys/block/bcache<?>/bcache/backing_dev_name, then people or user space
tools may know the backing device name of this bcache device.

Of cause it can be done by parsing sysfs links, but this method can be
much simpler to find the link between bcache device and backing device.

Signed-off-by: Coly Li <colyli@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-02-09 07:18:31 -07:00
..
2018-08-11 15:46:42 -06:00
2018-12-13 08:15:54 -07:00
2018-08-11 15:46:42 -06:00
2018-08-22 13:38:05 -07:00
2018-08-22 13:38:05 -07:00
2018-08-22 13:38:05 -07:00