[Devel] [PATCH 0/3] drivers/target: move setting of a blkio cgroup to the backstore level

Andrei Vagin avagin at openvz.org
Sat May 5 01:42:34 MSK 2018


Currently we can set a blkio cgroup for iscsi targets only.
With this series, it will work for all targets.

Andrei Vagin (3):
  blkcg: implement bio_associate_blkcg()
  target: allow to set a blkio cgroup for a backstore
  Revert "target/iscsi: add an ability to set io limits for iscsi
    targets"

 drivers/target/iscsi/iscsi_target_configfs.c | 46 ----------------------
 drivers/target/iscsi/iscsi_target_login.c    | 34 +---------------
 drivers/target/iscsi/iscsi_target_tpg.c      | 36 -----------------
 drivers/target/iscsi/iscsi_target_tpg.h      |  2 -
 drivers/target/target_core_device.c          | 58 ++++++++++++++++++++++++++++
 drivers/target/target_core_iblock.c          | 38 ++++++++++++++++++
 fs/bio.c                                     | 25 +++++++++++-
 include/linux/bio.h                          |  3 ++
 include/target/iscsi/iscsi_target_core.h     |  2 -
 include/target/target_core_backend.h         |  4 ++
 include/target/target_core_base.h            |  2 +
 kernel/cgroup.c                              |  1 -
 12 files changed, 130 insertions(+), 121 deletions(-)

-- 
1.8.3.1



More information about the Devel mailing list