Re: Append data via librados C API in erasure coded pool

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Like Shylesh said: you need to obey alignment constraints. See rados_ioctx_pool_requires_alignment in http://ceph.com/docs/hammer/rados/api/librados/

Cheers

On 01/09/2015 08:49, shylesh kumar wrote:
> I think this could be misaligned writes.
> Is it multiple of 4k ?? Its just a wild guess.
> 
> thanks,
> Shylesh
> 
> On Tue, Sep 1, 2015 at 9:17 AM, Hercules <hercules75@xxxxxxxxx <mailto:hercules75@xxxxxxxxx>> wrote:
> 
>     Hello,
> 
>     I use librados C API rados_append() to append object data in erasure coded pool, it always return -95 (Operation not supported). 
>     Buf if i use the same code to append object data in replicated pool, it works fine.
>     Does erasure coded pool not support append write?
> 
>     Below is my erasure coded pool setting. 
>     pool 2 'Edata_pool' erasure size 6 min_size 4 crush_ruleset 8 object_hash rjenkins pg_num 512 pgp_num 512 last_change 139 flags hashpspool stripe_width 4096
> 
>     Any advice will appreciate.
>     Hercules
> 
>     _______________________________________________
>     ceph-users mailing list
>     ceph-users@xxxxxxxxxxxxxx <mailto:ceph-users@xxxxxxxxxxxxxx>
>     http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> 
> 
> 
> 
> -- 
> Thanks & Regards
> Shylesh Kumar M
>  
> 
> 
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> 

-- 
Loïc Dachary, Artisan Logiciel Libre

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux