Skip to content

Conversation

Magic-Kowel
Copy link

LTOA to LTO10

This pull request includes following changes or fixes.

  • Fix

Description

Change LTOA to LTO10

Type of change

  • Refactoring

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have confirmed my fix is effective or that my feature works
Copy link
Member

@vandelvan vandelvan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @Magic-Kowel
Did you test these changes? could you share the output of your tests please?
There was no need to change the variable and constant names but it's ok as long as you keep it consistent across all files.
Look into the comment I left please.
Thanks!

};

static struct _timeout_tape timeout_ltoA_hh[] = {
static struct _timeout_tape timeout_10_hh[] = {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

specify lto not only 10

@Piloalucard
Copy link
Member

Hello @Magic-Kowel
Is there a specific reason to do this change? For what I can assume it seems to be a decision for maintain the decimal way to name the LTO10 generation instead of adopting the already merged hexadecimal way, but why? Is there any advantage?
Thank you in advance for the response!

DRIVE_LTOA = 0x210A, /* Ultrium Gen A */
DRIVE_LTOA_HH = 0x220A, /* Ultrium Gen A Half-High */
DRIVE_LTO10 = 0x210A, /* Ultrium Gen A */
DRIVE_LTO10_HH = 0x220A, /* Ultrium Gen A Half-High */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gen 10 also in the comment?

TC_MP_LTO8D_CART = 0x88, /* LTO8 Data cartridge */
TC_MP_LTO9D_CART = 0x98, /* LTO9 Data cartridge */
TC_MP_LTO10D_CART = 0xA8, /* LTOA Data cartridge */
TC_MP_LTOP10D_CART = 0xA9, /* LTOPA Data cartridge */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

Copy link
Member

@piste-jp piste-jp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I make a few minor comments. It is really great if you accept the changes.

};

/* Base timeout value for LTO */
/* Base timeout value for LTO */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove a space char. It looks inserted accidentally.

Copy link
Member

@piste-jp piste-jp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

Copy link
Contributor

@juliocelon juliocelon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks good to me, thanks, Josué!

@Magic-Kowel

This comment was marked as off-topic.

@juliocelon juliocelon requested a review from retokromer August 13, 2025 22:07
@juliocelon juliocelon merged commit 1287159 into LinearTapeFileSystem:v2.4.8-windows-support Aug 13, 2025
8 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

6 participants