summaryrefslogtreecommitdiffstats
path: root/lib/cpumask.c
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2012-11-14 12:25:19 -0600
committerAlex Elder <elder@inktank.com>2013-01-17 16:34:58 -0600
commit0903e875caa93e1fb231dd66c69b118dbdad25cb (patch)
tree6af900cda01ebc6acdd5f76672a28973f1b323c7 /lib/cpumask.c
parent47dba7ba2623b088cbbe1ac0aaa1a034f3249b6d (diff)
downloadtalos-obmc-linux-0903e875caa93e1fb231dd66c69b118dbdad25cb.tar.gz
talos-obmc-linux-0903e875caa93e1fb231dd66c69b118dbdad25cb.zip
rbd: use a common layout for each device
Each osd message includes a layout structure, and for rbd it is always the same (at least for osd's in a given pool). Initialize a layout structure when an rbd_dev gets created and just copy that into osd requests for the rbd image. Replace an assertion that was done when initializing the layout structures with code that catches and handles anything that would trigger the assertion as soon as it is identified. This precludes that (bad) condition from ever occurring. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'lib/cpumask.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud