Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Low: iSCSILogicalUnit: add lio_iblock parameter. #205

Merged
merged 1 commit into from Feb 19, 2013

Conversation

Projects
None yet
2 participants
Contributor

JOJ0 commented Feb 14, 2013

When having multiple LUNs using the same iblock device, and they're
started simultaneously, the tcm_core script might see a race condition
on mkdir() for the "/sys/kernel/config/target/core/iblock_0" directory,
preventing at least one instance from starting.

Make the iblock ID configurable to avoid the name clash.

Low: iSCSILogicalUnit: add lio_iblock parameter.
When having multiple LUNs using the same iblock device, and they're
started simultaneously, the tcm_core script might see a race condition
on mkdir() for the "/sys/kernel/config/target/core/iblock_0" directory,
preventing at least one instance from starting.

Make the iblock ID configurable to avoid the name clash.
Contributor

JOJ0 commented Feb 14, 2013

Hi, I rebased my 2 commits into one, this is the new pull request as suggested. I also closed the old pull request.
thanks a lot

dmuhamedagic added a commit that referenced this pull request Feb 19, 2013

Merge pull request #205 from JOJ0/master
Medium: iSCSILogicalUnit: add lio_iblock parameter

Setting this parameter to different values prevents race when multiple resources are starting in parallel on the same host. According to the commiter:

When having multiple LUNs using the same iblock device, and they're
started simultaneously, the tcm_core script might see a race condition
on mkdir() for the "/sys/kernel/config/target/core/iblock_0" directory,
preventing at least one instance from starting.

@dmuhamedagic dmuhamedagic merged commit 85960ed into ClusterLabs:master Feb 19, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment