I am not sure if this is a bug but it sure looks like it.
In the case of shared PDs, the CP attempts to acquire a lock on the PD prior to refreshing it. This is done here. The result of cp_channel_acquirehere is never checked and, in the case of shared channels, cp_refresh will always return 0.
I am not sure if this is a bug but it sure looks like it.
In the case of shared PDs, the CP attempts to acquire a lock on the PD prior to refreshing it. This is done here. The result of
cp_channel_acquire
here is never checked and, in the case of shared channels,cp_refresh
will always return 0.Is this check doing something I dont understand?