Menu

#142 Build failure with linux 6.14-rc1

open
nobody
None
unassigned
default
2025-03-27
2025-02-03
No

the vhba module fails to build with linux kernel 6.14-rc1

vhba> vhba.c:541:6: error: 'struct scsi_host_template' has no member named 'tag_alloc_policy'; did you mean 'tag_alloc_policy_rr'?
vhba>   541 |     .tag_alloc_policy = BLK_TAG_ALLOC_RR,
vhba>       |      ^~~~~~~~~~~~~~~~
vhba>       |      tag_alloc_policy_rr
vhba> vhba.c:541:25: error: 'BLK_TAG_ALLOC_RR' undeclared here (not in a function)
vhba>   541 |     .tag_alloc_policy = BLK_TAG_ALLOC_RR,
vhba>       |                         ^~~~~~~~~~~~~~~~

Discussion

  • Rok Mandeljc

    Rok Mandeljc - 2025-02-03

    Thanks for the heads up! I've pushed commit ee6bba585d53891577089e9dd856eb733d8231f8 which should fix this.

     
    • Herwig Hochleitner

      tested with 6.14-rc1 and works. thanks!

       
  • Herwig Hochleitner

    @mrok 6.14 is released now and this issue is hitting NixOS. Could we get a release of vhba?

     
    • Rok Mandeljc

      Rok Mandeljc - 2025-03-27

      I'll see about pushing a new release tomorrow or over the weekend. Thanks for the reminder!

       

Log in to post a comment.

MongoDB Logo MongoDB