hi,

when running multiple instances of iscsiadm on a machine,
i occasionally get the following error.

        iscsiadm: Could not execute operation on all records. Err 2.

it seems that idbm_lock is insufficient.
the target directory can be removed by another iscsiadm while
idbm_for_each_rec/idbm_for_each_portal is about to visit it.
i guess the easiest fix would be to make idbm_for_each_node hold
idbm_lock while doing opendir-readdir-closedir.

YAMAMOTO Takashi

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-is...@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.

Reply via email to