On Sat, 2017-07-08 at 02:52 -0500, Mike Christie wrote: > Userspace tools like targetcli are not able to dynamically detect if a > tcmu device supports kernel features ALUA or PGRs. In some kernels it > can create ALUA groups, but writing/reading ALUA files can lead to > nice error codes but also crashes and hangs. > > This patch, made over Nicks's for next branch, adds a device configfs > attribute to report the kernel features the device supports, so tools > can check that before attempting to activate some of these features > that were partially supported in older kernels. > > It can also be used for future feautes like possibly inquiry suppport > if we do end up moving that to the kernel so we can properly report > port info. > > Signed-off-by: Mike Christie <mchristi@xxxxxxxxxx> > --- > drivers/target/target_core_user.c | 13 +++++++++++++ > include/uapi/linux/target_core_user.h | 3 +++ > 2 files changed, 16 insertions(+) Applied to target-pending/for-next. Thanks MNC. -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html