Re: [lustre-devel] [PATCH 030/124] staging: lustre: llite: Replace write mutex with range lock

2016-09-19 Thread Jan Kara
On Mon 19-09-16 09:25:48, Dilger, Andreas wrote: > On Sep 19, 2016, at 09:28, Greg Kroah-Hartman > wrote: > > > > On Sun, Sep 18, 2016 at 04:37:29PM -0400, James Simmons wrote: > >> + * Range lock is used to allow multiple threads writing a single shared > >> + * file given each thread is writin

Re: [lustre-devel] [PATCH 030/124] staging: lustre: llite: Replace write mutex with range lock

2016-09-19 Thread Dilger, Andreas
On Sep 19, 2016, at 09:28, Greg Kroah-Hartman wrote: > > On Sun, Sep 18, 2016 at 04:37:29PM -0400, James Simmons wrote: >> + * Range lock is used to allow multiple threads writing a single shared >> + * file given each thread is writing to a non-overlapping portion of the >> + * file. >> + * >>

Re: [PATCH 030/124] staging: lustre: llite: Replace write mutex with range lock

2016-09-19 Thread Greg Kroah-Hartman
On Sun, Sep 18, 2016 at 04:37:29PM -0400, James Simmons wrote: > + * Range lock is used to allow multiple threads writing a single shared > + * file given each thread is writing to a non-overlapping portion of the > + * file. > + * > + * Refer to the possible upstream kernel version of range lock b

[PATCH 030/124] staging: lustre: llite: Replace write mutex with range lock

2016-09-18 Thread James Simmons
From: Prakash Surya Testing has shown the ll_inode_inode's lli_write_mutex to be a limiting factor with single shared file write performance, when using many writing threads on a single machine. Even if each thread is writing to a unique portion of the file, the lli_write_mutex will prevent no mo