summaryrefslogtreecommitdiffstats
path: root/net/ieee802154
diff options
context:
space:
mode:
authorWanlong Gao <gaowanlong@cn.fujitsu.com>2011-09-21 10:22:10 +0200
committerJens Axboe <axboe@kernel.dk>2011-09-21 10:22:10 +0200
commitd11bb4462c4cc6ddd45c6927c617ad79fa6fb8fc (patch)
tree248949fdd3c8894db0e161e9338a3a984c1ce0f7 /net/ieee802154
parent8ad6a56f5679a987bfeacad1bd818a2a381aa98e (diff)
downloadop-kernel-dev-d11bb4462c4cc6ddd45c6927c617ad79fa6fb8fc.zip
op-kernel-dev-d11bb4462c4cc6ddd45c6927c617ad79fa6fb8fc.tar.gz
blk-cgroup: be able to remove the record of unplugged device
The bug is we're not able to remove the device from blkio cgroup's per-device control files if it gets unplugged. To reproduce the bug: # mount -t cgroup -o blkio xxx /cgroup # cd /cgroup # echo "8:0 1000" > blkio.throttle.read_bps_device # unplug the device # cat blkio.throttle.read_bps_device 8:0 1000 # echo "8:0 0" > blkio.throttle.read_bps_device -bash: echo: write error: No such device After patching, the device removal will succeed. Thanks for the comments of Paul, Zefan, and Vivek. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> Cc: Li Zefan <lizf@cn.fujitsu.com> Cc: Paul Menage <paul@paulmenage.org> Acked-by: Vivek Goyal <vgoyal@redhat.com> Cc: Jens Axboe <axboe@kernel.dk> Cc: <stable@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'net/ieee802154')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud