]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
ceph: kill ceph alloc_page_vec()
authorAlex Elder <elder@inktank.com>
Thu, 14 Mar 2013 19:09:05 +0000 (14:09 -0500)
committerAlex Elder <elder@inktank.com>
Fri, 5 Apr 2013 12:10:34 +0000 (07:10 -0500)
commitae89db238dd387345ed5fec8e9b16ee02e19395b
tree8563f94fe6c9399e263d4d470bef793a9fb92df8
parent7faaaf9b3f886bbb46dfe99f7761bdf83c3ee28f
ceph: kill ceph alloc_page_vec()

There is a helper function alloc_page_vec() that, despite its
generic sounding name depends heavily on an osd request structure
being populated with certain information.

There is only one place this function is used, and it ends up
being a bit simpler to just open code what it does, so get
rid of the helper.

The real motivation for this is deferring building the of the osd
request message, and this is a step in that direction.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
fs/ceph/addr.c