On 11/13/19 4:02 AM, Roman Bolshakov wrote:
As far as I understand the change prevents backstore directory removal from TCM configfs when a TMF is processed and targetcli would start to fail sporadically as it tries to delete configfs directories only once: https://github.com/open-iscsi/rtslib-fb/blob/master/rtslib/node.py#L228 Should we hold se_device device without preventing removal of backstore?
How about using config_item_get()/config_item_put() instead of target_depend_item()/target_undepend_item()?
Thanks, Bart.