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] CA-192760: use noop scheduler for multipath devices #293

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Dec 22, 2015

  1. CA-192760: use noop IO scheduler for multipath and non-local devices

    We need to ensure we use noop IO scheduler for multipath devices
    and non local devices.
    
    We were used to do that in the storage manager but for devices
    going offline and added back this is not possible, becasue
    SM is not running all the time.
    
    This patch ensures the noop scheduler is set for specific devices
    and this setting is preserved even when SM is not running
    or when SM is not managing multipath (a potentially
    upcoming feature).
    
    Whit this rule, we use noop for any multipath device or any
    block device that is not on the ATA bus (a very weak decision
    rule to get an idea of locally attached devices).
    
    Signed-off-by: Germano Percossi <[email protected]>
    germanop committed Dec 22, 2015
    Configuration menu
    Copy the full SHA
    12ba5cb View commit details
    Browse the repository at this point in the history
  2. CA-192760: functions to set IO scheduler deprecated

    A decorator for deprecated functions has been created.
    Deprecation is this case means replacing them with a no-op
    function and a warning message.
    
    Signed-off-by: Germano Percossi <[email protected]>
    germanop committed Dec 22, 2015
    Configuration menu
    Copy the full SHA
    aae7548 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2016

  1. squash on commit 12ba5cb and keep the following commit message

    CA-192760: use noop IO scheduler for specific device types
    
    We need to ensure that a noop scheduler is used for the following
    devices:
    - non rotational disks (e.g. SSDs)
    - multipath devices (we assume they have a clever controller if
      many paths exist)
    - remote arrays
    
    In the latter case we are not sure the chosen rule is always
    doing the right thing.
    
    We were used to do that in the storage manager but for devices
    going offline and added back this is not possible, because
    SM is not running all the time.
    
    This patch ensures the noop scheduler is set for specific devices
    and this setting is preserved even when SM is not running
    or when SM is not explicitly managing multipath (a potentially
    upcoming feature).
    
    Signed-off-by: Germano Percossi <[email protected]>
    germanop committed Jan 13, 2016
    Configuration menu
    Copy the full SHA
    8ff3845 View commit details
    Browse the repository at this point in the history