]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
kclient: set pg_pool in osd requests
authorSage Weil <sage@newdream.net>
Mon, 11 Aug 2008 16:34:07 +0000 (09:34 -0700)
committerSage Weil <sage@newdream.net>
Mon, 11 Aug 2008 16:34:07 +0000 (09:34 -0700)
src/kernel/osdmap.c

index ca8a08150a53af5c8e34fcb759c17c15ce522e45..737fb75af9c43385a959dd03161ae940237d11af 100644 (file)
@@ -633,6 +633,7 @@ void calc_object_layout(struct ceph_object_layout *ol,
        pgid.pg.preferred = preferred;
        pgid.pg.type = fl->fl_pg_type;
        pgid.pg.size = fl->fl_pg_size;
+       pgid.pg.pool = fl->fl_pg_pool;
 
        ol->ol_pgid = cpu_to_le64(pgid.pg64);
        ol->ol_stripe_unit = fl->fl_object_stripe_unit;