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

Add media change support v2 #435

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Commits on Aug 19, 2018

  1. runner: drop dbus handler registration

    It doesn't look like the dbus handler registration is used
    anymore. We are not using the check_config callout anymore
    and the registration code did not seem to fully register a
    handler for cmd processing, so drop it.
    
    Signed-off-by: Mike Christie <[email protected]>
    Mike Christie committed Aug 19, 2018
    Configuration menu
    Copy the full SHA
    b880ea6 View commit details
    Browse the repository at this point in the history
  2. make tcmu_set_control code a macro

    Make tcmu_set_control a macro so it can be reused in the next patch
    for setting a string.
    
    Signed-off-by: Mike Christie <[email protected]>
    Mike Christie committed Aug 19, 2018
    Configuration menu
    Copy the full SHA
    adea540 View commit details
    Browse the repository at this point in the history
  3. move to UA handling to device file

    Move the UA code so it can be called from other files.
    
    Signed-off-by: Mike Christie <[email protected]>
    Mike Christie committed Aug 19, 2018
    Configuration menu
    Copy the full SHA
    37f7aef View commit details
    Browse the repository at this point in the history
  4. lib: add helper to lookup dev by tcmu name

    This will be used in the next patches so targetcli
    can pass in the tcmu name to dbus commands.
    
    Signed-off-by: Mike Christie <[email protected]>
    Mike Christie committed Aug 19, 2018
    Configuration menu
    Copy the full SHA
    8f04b50 View commit details
    Browse the repository at this point in the history
  5. lib: add helper to set control strings

    This will be used in the next patch to set dev_config
    
    Signed-off-by: Mike Christie <[email protected]>
    Mike Christie committed Aug 19, 2018
    Configuration menu
    Copy the full SHA
    74a1e0e View commit details
    Browse the repository at this point in the history
  6. runner: check for pending UAs in passthrough path

    Signed-off-by: Mike Christie <[email protected]>
    Mike Christie committed Aug 19, 2018
    Configuration menu
    Copy the full SHA
    4ff8018 View commit details
    Browse the repository at this point in the history
  7. runner: Add Media Change

    This patch series will add media change that is
    triggered via targetcli without involving the kernel
    
    Based on patches my Bryant G. Ly.
    
    Signed-off-by: Bryant G. Ly <[email protected]>
    Signed-off-by: Mike Christie <[email protected]>
    Mike Christie committed Aug 19, 2018
    Configuration menu
    Copy the full SHA
    531cee0 View commit details
    Browse the repository at this point in the history
  8. libtcmu: log failed commands when debug is set

    In debug mode log failed commands.
    
    Signed-off-by: Mike Christie <[email protected]>
    Mike Christie committed Aug 19, 2018
    Configuration menu
    Copy the full SHA
    bb29f64 View commit details
    Browse the repository at this point in the history