On 9/27/21 2:38 PM, Maurizio Lombardi wrote: > The target driver prevents the users from changing > the database root directory if a target module like ib_srpt > has already been loaded during boot. Why is that not allowed if we have a fabric driver loaded? It looks like we don't start using the db_root until we have created a device (alua and pr metadata), so you could add a: static bool target_device_created; target_core_make_subdev() { .... target_device_created = true; } target_core_item_dbroot_store() { if (target_device_created) return -EINVAL ....