Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] udiskslinuxdevice: Fix dm-multipath ATA drives handling #1064

Closed
wants to merge 1 commit into from

Conversation

tbzatek
Copy link
Member

@tbzatek tbzatek commented Feb 9, 2023

The dm-multipath devices are actually capable of tunneling ioctls down to the drive through an active path. It might be actually dangerous to approach the particular paths directly, in parallel or async.

This change refrains from any probing on ATA devices which are part of a dm-multipath device. The actual dm-multipath device is probed instead.

However the dm-multipath device carries only a small number of udev attributes that still need to be retrieved from the particular path.

TODO:

  • disable some drive operations like eject or power-off
  • do we want to add some dm-multipath test devices finally?

The dm-multipath devices are actually capable of tunneling ioctls
down to the drive through an active path. It might be actually dangerous
to approach the particular paths directly, in parallel or async.

This change refrains from any probing on ATA devices which are part
of a dm-multipath device. The actual dm-multipath device is probed
instead.

However the dm-multipath device carries only a small number of udev
attributes that still need to be retrieved from the particular path.
@tbzatek tbzatek added this to the udisks-2.11.0 milestone Apr 28, 2023
@tbzatek
Copy link
Member Author

tbzatek commented Jun 12, 2024

--> #1289

@tbzatek tbzatek closed this Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant