Re: [PATCH 35/41] staging: lustre: hsm: Use file lease to implement migration

2016-10-09 Thread Greg Kroah-Hartman
On Sun, Oct 02, 2016 at 10:28:31PM -0400, James Simmons wrote: > From: Henri Doreau > > Implement non-blocking migration based on exclusive open instead of > group lock. Implemented exclusive close operation to atomically put > a lease, swap two layouts and close a file. This allows race-free > m

[PATCH 35/41] staging: lustre: hsm: Use file lease to implement migration

2016-10-02 Thread James Simmons
From: Henri Doreau Implement non-blocking migration based on exclusive open instead of group lock. Implemented exclusive close operation to atomically put a lease, swap two layouts and close a file. This allows race-free migrations. Make the caller responsible for retrying on failure (EBUSY, EAG