ansible/lib/ansible
Johannes Truschnigg b377301195 Fix sizes reported for devices with phys. bs != 512b (#15521)
The `setup` module reports incorrectly computed disk and partition size facts on (afaict) all Linux kernels for block devices that report a physical block size other than 512b.

This happens because `facts.py` incorrectly assumes that sysfs reports a device's block count in units of that device's physical sector size. The kernel, however, always reports and exports sector counts in units of 512b sectors, even if the device's hardware interface cannot address individual blocks this small. The results we see are inflated capacity figures for things like some SSD models and 4kn-HDDs that do report a hardware sector size greater than 512b.
2016-12-02 12:30:40 -05:00
..
cache switched threading to multiprocessing 2016-02-11 22:19:41 -05:00
callback_plugins Remove runner_on_error callback that is never used. 2014-07-01 17:02:10 -04:00
inventory Limit should not affect the calculation of host variables as the variables may be referenced by another host that is not limited. 2016-03-23 13:40:09 -07:00
module_utils Fix sizes reported for devices with phys. bs != 512b (#15521) 2016-12-02 12:30:40 -05:00
modules Update core submodule ref to pick up apt_key fix 2016-10-24 15:39:04 -07:00
playbook Fix a unicode problem when parsing playbooks (#16507) 2016-06-30 12:09:20 -04:00
runner Merge pull request #14652 from alexandrem/fix_role_vars_precedence_interpolation 2016-03-07 13:44:29 -08:00
utils Check for closing sequence for templating (Ansible v1.9) 2016-02-23 11:42:48 +01:00
__init__.py New release v1.9.6-0.1.rc1 2016-04-06 15:20:52 -04:00
callbacks.py Fix traceback in on_unreachable 2015-06-29 08:33:45 -07:00
color.py fixed typos found by RETF rules in PY files 2014-05-03 18:40:05 +02:00
constants.py made special treatment of certain filesystem for selinux configurable 2015-05-15 18:12:06 -04:00
errors.py Make AnsibleError a plain ol' exception 2015-01-29 10:36:06 -08:00
module_common.py made special treatment of certain filesystem for selinux configurable 2015-05-15 18:12:06 -04:00