Open-CAS / open-cas-linux

Open CAS Linux
https://open-cas.com
BSD 3-Clause "New" or "Revised" License
216 stars 82 forks source link

Fix compile on Rockylinux 9 #1470

Closed MJAsadi72 closed 2 months ago

MJAsadi72 commented 3 months ago

Due to custom patches on the RHEL kernel, MAKE_RQ_RET_TYPE uses kernel 5.18.0 and above struct type. this fix prevents using blk_qc_t on Rockylinux 9.

mmichal10 commented 2 months ago

Hello @MJAsadi72,

we appreciate your contribution. Unfortunately, the fix can't be merged it its current form because it breaks compilation on non Red Hat kernels. We're discussing a generic solution. I'll keep you posted on the progress.

Best regards, Michal

mmichal10 commented 2 months ago

Fixes #1470

aneagoe commented 2 months ago

@robertbaldyga Is it reasonable to expect a new release including this fix shortly, or will that take some time? Looking to upgrade our fleet to EL9 and so far this has been a blocker.

robertbaldyga commented 2 months ago

@robertbaldyga Is it reasonable to expect a new release including this fix shortly, or will that take some time? Looking to upgrade our fleet to EL9 and so far this has been a blocker.

We plan Open CAS v24.09 to be released at the end of September this year.