Re: [ceph-users] RBD Watch Notify for snapshots

2016-09-06 Thread Nick Fisk
Thanks for the hint, I will update my code. > -Original Message- > From: Jason Dillaman [mailto:jdill...@redhat.com] > Sent: 06 September 2016 14:44 > To: Nick Fisk > Cc: ceph-users > Subject: Re: [ceph-users] RBD Watch Notify for snapshots > > If you re

Re: [ceph-users] RBD Watch Notify for snapshots

2016-09-06 Thread Jason Dillaman
watch is still active? > > Thanks, > Nick > >> -Original Message- >> From: Jason Dillaman [mailto:jdill...@redhat.com] >> Sent: 24 August 2016 15:54 >> To: Nick Fisk >> Cc: ceph-users >> Subject: Re: [ceph-users] RBD Watch Notify for snapshots >> >

Re: [ceph-users] RBD Watch Notify for snapshots

2016-09-06 Thread Nick Fisk
atch_check function, do I need to call this periodically to check that the watch is still active? Thanks, Nick > -Original Message- > From: Jason Dillaman [mailto:jdill...@redhat.com] > Sent: 24 August 2016 15:54 > To: Nick Fisk > Cc: ceph-users > Subject: Re: [ceph-users] RB

Re: [ceph-users] RBD Watch Notify for snapshots

2016-08-24 Thread Jason Dillaman
sk wrote: >> -Original Message- >> From: Jason Dillaman [mailto:jdill...@redhat.com] >> Sent: 23 August 2016 13:23 >> To: Nick Fisk >> Cc: ceph-users >> Subject: Re: [ceph-users] RBD Watch Notify for snapshots >> >> Looks good. Since you are re-u

Re: [ceph-users] RBD Watch Notify for snapshots

2016-08-24 Thread Nick Fisk
> -Original Message- > From: Jason Dillaman [mailto:jdill...@redhat.com] > Sent: 23 August 2016 13:23 > To: Nick Fisk > Cc: ceph-users > Subject: Re: [ceph-users] RBD Watch Notify for snapshots > > Looks good. Since you are re-using the RBD header

Re: [ceph-users] RBD Watch Notify for snapshots

2016-08-23 Thread Jason Dillaman
ve described, as it would be a much neater solution. >> >> Nick >> >> > -Original Message- >> > From: ceph-users [mailto:ceph-users-boun...@lists.ceph.com] On Behalf >> > Of Jason Dillaman >> > Sent: 08 July 2016 04:02 >> > To: n...

Re: [ceph-users] RBD Watch Notify for snapshots

2016-08-22 Thread Nick Fisk
> -Original Message- > From: Ilya Dryomov [mailto:idryo...@gmail.com] > Sent: 22 August 2016 15:00 > To: Jason Dillaman > Cc: Nick Fisk ; ceph-users > Subject: Re: [ceph-users] RBD Watch Notify for snapshots > > On Fri, Jul 8, 2016 at 5:02 AM, Jason Dillaman

Re: [ceph-users] RBD Watch Notify for snapshots

2016-08-22 Thread Nick Fisk
> -Original Message- > From: Ilya Dryomov [mailto:idryo...@gmail.com] > Sent: 22 August 2016 14:53 > To: Nick Fisk > Cc: Jason Dillaman ; ceph-users > > Subject: Re: [ceph-users] RBD Watch Notify for snapshots > > On Mon, Aug 22, 2016 at 3:13 PM, Nic

Re: [ceph-users] RBD Watch Notify for snapshots

2016-08-22 Thread Ilya Dryomov
On Fri, Jul 8, 2016 at 5:02 AM, Jason Dillaman wrote: > librbd pseudo-automatically handles this by flushing the cache to the > snapshot when a new snapshot is created, but I don't think krbd does the > same. If it doesn't, it would probably be a nice addition to the block > driver to support the

Re: [ceph-users] RBD Watch Notify for snapshots

2016-08-22 Thread Ilya Dryomov
On Mon, Aug 22, 2016 at 3:13 PM, Nick Fisk wrote: > Hi Jason, > > Here is my initial attempt at using the Watch/Notify support to be able to > remotely fsfreeze a filesystem on a RBD. Please note this > was all very new to me and so there will probably be a lot of things that > haven't been done

Re: [ceph-users] RBD Watch Notify for snapshots

2016-08-22 Thread Nick Fisk
ink. Nick > -Original Message- > From: ceph-users [mailto:ceph-users-boun...@lists.ceph.com] On Behalf Of Nick > Fisk > Sent: 08 July 2016 09:58 > To: dilla...@redhat.com > Cc: 'ceph-users' > Subject: Re: [ceph-users] RBD Watch Notify for snapshots > > Thank

Re: [ceph-users] RBD Watch Notify for snapshots

2016-07-08 Thread Nick Fisk
users > Subject: Re: [ceph-users] RBD Watch Notify for snapshots > > librbd pseudo-automatically handles this by flushing the cache to the > snapshot when a new snapshot is created, but I don't think krbd > does the same. If it doesn't, it would probably be a nice a

Re: [ceph-users] RBD Watch Notify for snapshots

2016-07-07 Thread Jason Dillaman
librbd pseudo-automatically handles this by flushing the cache to the snapshot when a new snapshot is created, but I don't think krbd does the same. If it doesn't, it would probably be a nice addition to the block driver to support the general case. Baring that (or if you want to involve something