cloudbase / wnbd

Windows Ceph RBD NBD driver
GNU Lesser General Public License v2.1
58 stars 26 forks source link

driver: fix persistent reservation checks #107

Closed petrutlucian94 closed 1 year ago

petrutlucian94 commented 1 year ago

NBD connections are currently affected by "PERSISTENT RESERVATION IN" requests, which get queued despite the fact that NBD doesn't support this operation. Certain Windows operations end up waiting indefinitely for some persistent reservation commands.

This change fixes the persistent reservation support check, ensuring that those operations won't be queued unless supported by the backend.

We'll explicitly clear this flag for NBD connections.

Signed-off-by: Lucian Petrut lpetrut@cloudbasesolutions.com