Re: [PATCHv3 2/5] scsi: Export blacklist flags to sysfs

Bart Van Assche
2017-08-15T14:25:05Z

On Fri, 2017-08-11 at 16:23 +0200, Hannes Reinecke wrote:
> @@ -1138,6 +1220,7 @@ static umode_t scsi_sdev_bin_attr_is_visible(struct kobject *kobj,
> &dev_attr_queue_depth.attr,
> &dev_attr_queue_type.attr,
> &dev_attr_wwid.attr,
> + &dev_attr_blacklist.attr,
> #ifdef CONFIG_SCSI_DH
> &dev_attr_dh_state.attr,
> &dev_attr_access_state.attr,

Hello Hannes,

Wouldn't debugfs be more appropriate for this attribute than sysfs?

Thanks,

Bart.