Re: [ceph-users] Sparse file info in filestore not propagated to other OSDs

2017-06-26 Thread Piotr Dalek
On 17-06-21 03:24 PM, Sage Weil wrote: > On Wed, 21 Jun 2017, Piotr Dałek wrote: >> On 17-06-14 03:44 PM, Sage Weil wrote: >>> On Wed, 14 Jun 2017, Paweł Sadowski wrote: [snip] Is it safe to enable "filestore seek hole", are there any tests that verifies that everything related

Re: [ceph-users] Sparse file info in filestore not propagated to other OSDs

2017-06-21 Thread Sage Weil
On Wed, 21 Jun 2017, Piotr Dałek wrote: > > > > > I tested on few of our production images and it seems that about 30% > > > > > is > > > > > sparse. This will be lost on any cluster wide event (add/remove nodes, > > > > > PG grow, recovery). > > > > > > > > > > How this is/will be handled in

Re: [ceph-users] Sparse file info in filestore not propagated to other OSDs

2017-06-21 Thread Piotr Dałek
On 17-06-21 03:24 PM, Sage Weil wrote: On Wed, 21 Jun 2017, Piotr Dałek wrote: On 17-06-14 03:44 PM, Sage Weil wrote: On Wed, 14 Jun 2017, Paweł Sadowski wrote: On 04/13/2017 04:23 PM, Piotr Dałek wrote: On 04/06/2017 03:25 PM, Sage Weil wrote: On Thu, 6 Apr 2017, Piotr Dałek wrote: [snip]

Re: [ceph-users] Sparse file info in filestore not propagated to other OSDs

2017-06-21 Thread Jason Dillaman
On Wed, Jun 21, 2017 at 3:05 AM, Piotr Dałek wrote: > I saw that RBD (librbd) does that - replacing writes with discards when > buffer contains only zeros. Some code that does the same in librados could > be added and it shouldn't impact performance much, current

Re: [ceph-users] Sparse file info in filestore not propagated to other OSDs

2017-06-21 Thread Piotr Dałek
On 17-06-14 03:44 PM, Sage Weil wrote: On Wed, 14 Jun 2017, Paweł Sadowski wrote: On 04/13/2017 04:23 PM, Piotr Dałek wrote: On 04/06/2017 03:25 PM, Sage Weil wrote: On Thu, 6 Apr 2017, Piotr Dałek wrote: [snip] I think the solution here is to use sparse_read during recovery. The PushOp

Re: [ceph-users] Sparse file info in filestore not propagated to other OSDs

2017-06-14 Thread Sage Weil
On Wed, 14 Jun 2017, Paweł Sadowski wrote: > On 04/13/2017 04:23 PM, Piotr Dałek wrote: > > On 04/06/2017 03:25 PM, Sage Weil wrote: > >> On Thu, 6 Apr 2017, Piotr Dałek wrote: > >>> Hello, > >>> > >>> We recently had an interesting issue with RBD images and filestore > >>> on Jewel > >>> 10.2.5:

Re: [ceph-users] Sparse file info in filestore not propagated to other OSDs

2017-06-14 Thread Paweł Sadowski
On 04/13/2017 04:23 PM, Piotr Dałek wrote: > On 04/06/2017 03:25 PM, Sage Weil wrote: >> On Thu, 6 Apr 2017, Piotr Dałek wrote: >>> Hello, >>> >>> We recently had an interesting issue with RBD images and filestore >>> on Jewel >>> 10.2.5: >>> We have a pool with RBD images, all of them mostly