]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: kill ceph alloc_page_vec()
authorAlex Elder <elder@inktank.com>
Thu, 14 Mar 2013 19:09:05 +0000 (14:09 -0500)
committerSage Weil <sage@inktank.com>
Thu, 2 May 2013 04:18:00 +0000 (21:18 -0700)
commit69319fa48d21693cf27396b015b13039fadb96c1
treef064a25c5a2b47602653af8845d3a49485a2c910
parent91fdc006078e988be66782bce9d67f71e8b16874
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