Re: [ovs-dev] [PATCH] Windows: Allow online compacting

2016-09-14 Thread Ben Pfaff
On Tue, Sep 13, 2016 at 06:58:42PM +, Alin Serdean wrote: > > -Original Message- > > From: Ben Pfaff [mailto:b...@ovn.org] > > Sent: Friday, August 26, 2016 6:54 PM > > To: Alin Serdean > > Cc: dev@openvswitch.org > > Subject: Re: [ovs-dev] [PAT

Re: [ovs-dev] [PATCH] Windows: Allow online compacting

2016-09-13 Thread Alin Serdean
> -Original Message- > From: Ben Pfaff [mailto:b...@ovn.org] > Sent: Friday, August 26, 2016 6:54 PM > To: Alin Serdean > Cc: dev@openvswitch.org > Subject: Re: [ovs-dev] [PATCH] Windows: Allow online compacting > > On Fri, Aug 12, 2016 at 07:39:32AM +, Alin

Re: [ovs-dev] [PATCH] Windows: Allow online compacting

2016-08-26 Thread Ben Pfaff
On Fri, Aug 12, 2016 at 07:39:32AM +, Alin Serdean wrote: > This patch allows online compacting to be done under Windows. > > To achieve the above we need to close all file handles before trying to > rename the file, switch from rename to MoveFileEx (because rename/MoveFile > fails if the dest

[ovs-dev] [PATCH] Windows: Allow online compacting

2016-08-12 Thread Alin Serdean
This patch allows online compacting to be done under Windows. To achieve the above we need to close all file handles before trying to rename the file, switch from rename to MoveFileEx (because rename/MoveFile fails if the destination exists), reopen the right type of log after the rename. Signed-