[ceph-users] Re: cephfs - modifying the ceph.file.layout of existing files

2020-05-30 Thread Andrej Filipcic
Hi, pwrite is fast, thoug it's async and it takes ~12s to flush: time /usr/sbin/xfs_io -f -c "pwrite 0 4568293535" /ceph/grid/cacheslow/data/aa/007494abc70353384e4788624d19fe268db8ce wrote 4568293535/4568293535 bytes at offset 0 4.255 GiB, 1115307 ops; 0:00:04.39 (992.045 MiB/sec and 253963.64

[ceph-users] Re: cephfs - modifying the ceph.file.layout of existing files

2020-05-28 Thread Andrej Filipcic
Thanks a lot, I will give it a try, I plan to use that in a very controlled environment anyway. Best regards, Andrej On 2020-05-28 12:21, Luis Henriques wrote: Andrej Filipcic writes: Hi, I have two directories, cache_fast and cache_slow, and I would like to move the least used files fr

[ceph-users] Re: cephfs - modifying the ceph.file.layout of existing files

2020-05-28 Thread Luis Henriques
Andrej Filipcic writes: > Hi, > > I have two directories, cache_fast and cache_slow, and I would like to move > theĀ  > least used files from fast to slow, aka, user side tiering. cache_fast is > pinned > to fast_data ssd pool, while cache_slow to hdd cephfs_data pool. > > $ getfattr -n ceph.dir