]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
libceph: follow {read,write}_tier fields on osd request submission
authorIlya Dryomov <ilya.dryomov@inktank.com>
Mon, 27 Jan 2014 15:40:19 +0000 (17:40 +0200)
committerIlya Dryomov <ilya.dryomov@inktank.com>
Mon, 27 Jan 2014 21:57:45 +0000 (23:57 +0200)
commit17a13e4028e6ad7ded079cf32370c47bd0e0fc07
treeb09232ed5e1037f4ff9cfd3c60902dd0c0d61973
parentce7f6a2790464047199f54b66420243d433142bd
libceph: follow {read,write}_tier fields on osd request submission

Overwrite ceph_osd_request::r_oloc.pool with read_tier for read ops and
write_tier for write and read+write ops (aka basic tiering support).
{read,write}_tier are part of pg_pool_t since v9.  This commit bumps
our pg_pool_t decode compat version from v7 to v9, all new fields
except for {read,write}_tier are ignored.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
include/linux/ceph/osdmap.h
net/ceph/osd_client.c
net/ceph/osdmap.c