summaryrefslogtreecommitdiffstats
path: root/net/sched/cls_cgroup.c
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2011-09-28 19:11:04 +0200
committerSage Weil <sage@newdream.net>2011-09-28 19:13:35 +0200
commit8adc8b3d780363d5df0dd6ace10336e3d7e331a1 (patch)
tree18ea04f84f3138561f5a5d09699271b213827f3e /net/sched/cls_cgroup.c
parentlibceph: fix pg_temp mapping calculation (diff)
downloadlinux-8adc8b3d780363d5df0dd6ace10336e3d7e331a1.tar.xz
linux-8adc8b3d780363d5df0dd6ace10336e3d7e331a1.zip
libceph: fix pg_temp mapping update
The incremental map updates have a record for each pg_temp mapping that is to be add/updated (len > 0) or removed (len == 0). The old code was written as if the updates were a complete enumeration; that was just wrong. Update the code to remove 0-length entries and drop the rbtree traversal. This avoids misdirected (and hung) requests that manifest as server errors like [WRN] client4104 10.0.1.219:0/275025290 misdirected client4104.1:129 0.1 to osd0 not [1,0] in e11/11 Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'net/sched/cls_cgroup.c')
0 files changed, 0 insertions, 0 deletions