Re: [PATCH 3/5] nfsd: Only set PF_LESS_THROTTLE when really needed.

2014-05-12 Thread Jan Kara
On Mon 12-05-14 11:04:37, NeilBrown wrote: > On Tue, 06 May 2014 17:05:01 -0400 Rik van Riel wrote: > > > On 04/22/2014 10:40 PM, NeilBrown wrote: > > > PF_LESS_THROTTLE has a very specific use case: to avoid deadlocks > > > and live-locks while writing to the page cache in a loop-back > > > NFS

Re: [PATCH 3/5] nfsd: Only set PF_LESS_THROTTLE when really needed.

2014-05-11 Thread NeilBrown
On Tue, 6 May 2014 16:54:18 -0400 "J. Bruce Fields" wrote: > On Wed, Apr 23, 2014 at 12:40:58PM +1000, NeilBrown wrote: > > PF_LESS_THROTTLE has a very specific use case: to avoid deadlocks > > and live-locks while writing to the page cache in a loop-back > > NFS mount situation. > > > > It ther

Re: [PATCH 3/5] nfsd: Only set PF_LESS_THROTTLE when really needed.

2014-05-11 Thread NeilBrown
On Tue, 06 May 2014 17:05:01 -0400 Rik van Riel wrote: > On 04/22/2014 10:40 PM, NeilBrown wrote: > > PF_LESS_THROTTLE has a very specific use case: to avoid deadlocks > > and live-locks while writing to the page cache in a loop-back > > NFS mount situation. > > > > It therefore makes sense to *

Re: [PATCH 3/5] nfsd: Only set PF_LESS_THROTTLE when really needed.

2014-05-06 Thread Rik van Riel
On 04/22/2014 10:40 PM, NeilBrown wrote: > PF_LESS_THROTTLE has a very specific use case: to avoid deadlocks > and live-locks while writing to the page cache in a loop-back > NFS mount situation. > > It therefore makes sense to *only* set PF_LESS_THROTTLE in this > situation. > We now know when a

Re: [PATCH 3/5] nfsd: Only set PF_LESS_THROTTLE when really needed.

2014-05-06 Thread J. Bruce Fields
On Wed, Apr 23, 2014 at 12:40:58PM +1000, NeilBrown wrote: > PF_LESS_THROTTLE has a very specific use case: to avoid deadlocks > and live-locks while writing to the page cache in a loop-back > NFS mount situation. > > It therefore makes sense to *only* set PF_LESS_THROTTLE in this > situation. > W

[PATCH 3/5] nfsd: Only set PF_LESS_THROTTLE when really needed.

2014-04-22 Thread NeilBrown
PF_LESS_THROTTLE has a very specific use case: to avoid deadlocks and live-locks while writing to the page cache in a loop-back NFS mount situation. It therefore makes sense to *only* set PF_LESS_THROTTLE in this situation. We now know when a request came from the local-host so it could be a loop-