Repository navigation
Assume cart type fron density as fallback for unknown cart type - #639
dylanetaft wants to merge 1 commit into
Conversation
|
i was having the same issue i hope this gets merged! |
|
The only caveat is that it's code to maintain when a new LTO tape version comes out. But it's just adding a case statement, and probably avoiding more complex code, and the type from density code should be updated anyway too when new tape versions come out so it's not bad. |
|
Hi @dylanetaft ! We agreed that this change can be merged into our next release, 2.4.9.2. Since for the previous release process some PRs got squashed, git might be marking some changes incorrectly in this PR when we switched the base branch, if this happened please merge your branch with the release/2.4.9.2 and please confirm there are no conflicts so we can merge it with the new release branch. Thank you for your contribution! |
|
I tried to merge, could not. I personally need fuse3 patches from @matejk to land to test this, I do not have fuse2 on my system. As a general statement, this patch still works, but the ltfsmsg call site and message in root.txt has to be changed to the next free message identifier - currently 30301I I can submit another PR...it may take time as I will need to cherry pick stuff from @matejk's personal repos to even be able to compile LTFS again on my system. I have been using the custom built ltfs binaries with this patch and fuse3 for several months without issue. |
|
0001-Assume-cart-type-fron-density-as-fallback-for-unknow.patch I updated this but it may be a bit before I can test again and do a new PR...I won't be able to test currently as matejk's private repo is built against 2.4.9.1 and runs into the same issue - the error IDs were stepped on in 2.4.9.2 among other merge issues...I could try to resolve merge conflicts with his repo... It might make sense for one of the primary devs to pull this patch into their repo though and let it eventually get upstream that way...I might just wait and cross my fingers for him to rebase to 2.4.9.2 then I'll try again... Redone as #673 |
Summary of changes
This pull request includes following changes or fixes.
Description
Adds a fallback method of cart_type setting - if sens data is unknown cart
Type of change
Checklist:
Please do review, the fallback will run for any tape drive that didn't get a known cart_type back from sense data, not specific to vendor