]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commit
rbd: there is really only one op
authorAlex Elder <elder@inktank.com>
Wed, 14 Nov 2012 03:11:15 +0000 (21:11 -0600)
committerAlex Elder <elder@inktank.com>
Wed, 28 Nov 2012 16:07:06 +0000 (10:07 -0600)
commitf93ca50e6aeea78e41b4c7f6d62b881361d1ed47
treedbc9ea2fd75fb2397b1222f9f106896981896385
parent32cc22eabed1c770aef2e61b7f07ab4f4355dba9
rbd: there is really only one op

Throughout the rbd code there are spots where it appears we can
handle an osd request containing more than one osd request op.

But that is only the way it appears.  In fact, currently only one
operation at a time can be supported, and supporting more than
one will require much more than fleshing out the support that's
there now.

This patch changes names to make it perfectly clear that anywhere
we're dealing with a block of ops, we're in fact dealing with
exactly one of them.  We'll be able to simplify some things as
a result.

When multiple op support is implemented, we can update things again
accordingly.

Signed-off-by: Alex Elder <elder@inktank.com>
drivers/block/rbd.c