On Mon, Feb 13, 2017 at 06:46:19AM -0500, David Windsor wrote:
> On Mon, Feb 13, 2017 at 5:54 AM, Hans Liljestrand wrote:
> > On Sat, Feb 11, 2017 at 01:42:53AM -0500, David Windsor wrote:
> >>
> >>
> >>
> >>> Signed-off-by: David Windsor
> >>> ---
> >>> fs/nfsd/nfs4state.c | 6 +++---
> >>> 1
On Mon, Feb 13, 2017 at 7:12 AM, Christoph Hellwig wrote:
> On Mon, Feb 13, 2017 at 06:42:56AM -0500, David Windsor wrote:
>> I'm not sure this is a sound argument for not converting to
>> refcount_t.
>
> It's an argument again the way how this patch was sent. Please take care
> of all the trivia
On Mon, Feb 13, 2017 at 06:42:56AM -0500, David Windsor wrote:
> I'm not sure this is a sound argument for not converting to
> refcount_t.
It's an argument again the way how this patch was sent. Please take care
of all the trivial conversions first, and then do anything non-trivial
on a case by c
On Mon, Feb 13, 2017 at 5:54 AM, Hans Liljestrand wrote:
> On Sat, Feb 11, 2017 at 01:42:53AM -0500, David Windsor wrote:
>>
>>
>>
>>> Signed-off-by: David Windsor
>>> ---
>>> fs/nfsd/nfs4state.c | 6 +++---
>>> 1 file changed, 3 insertions(+), 3 deletions(-)
>>>
>>> diff --git a/fs/nfsd/nfs4st
On Mon, Feb 13, 2017 at 5:38 AM, Christoph Hellwig wrote:
> On Sat, Feb 11, 2017 at 09:01:15AM -0500, David Windsor wrote:
>> I'm not sure there's another way to accomplish what we need
>> (initializing struct nfsd4_session objects with refcount=1) without
>> also modifying the freeable reference
On Sat, Feb 11, 2017 at 01:42:53AM -0500, David Windsor wrote:
Signed-off-by: David Windsor
---
fs/nfsd/nfs4state.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index a0dee8a..b0f3010 100644
--- a/fs/nfsd/nfs4state.c
+++
On Sat, Feb 11, 2017 at 09:01:15AM -0500, David Windsor wrote:
> I'm not sure there's another way to accomplish what we need
> (initializing struct nfsd4_session objects with refcount=1) without
> also modifying the freeable reference state. After migrating to the
> refcount_t API, if we leave ini
On Sat, Feb 11, 2017 at 8:15 PM, Bruce Fields wrote:
> On Sat, Feb 11, 2017 at 07:31:42AM -0500, Jeff Layton wrote:
>> The basic idea here is that nfsv4 sessions have a "resting state" of 0.
>> We want to keep them around, but if they go "dead" then we we'll tear
>> them down if they aren't active
On Sat, Feb 11, 2017 at 07:31:42AM -0500, Jeff Layton wrote:
> The basic idea here is that nfsv4 sessions have a "resting state" of 0.
> We want to keep them around, but if they go "dead" then we we'll tear
> them down if they aren't actively in use at the time. So, we still free
> the thing when t
On Sat, 2017-02-11 at 09:01 -0500, David Windsor wrote:
> On Sat, Feb 11, 2017 at 7:31 AM, Jeff Layton wrote:
> > On Sat, 2017-02-11 at 01:42 -0500, David Windsor wrote:
> > >
> > >
> > > > Signed-off-by: David Windsor
> > > > ---
> > > > fs/nfsd/nfs4state.c | 6 +++---
> > > > 1 file changed,
On Sat, Feb 11, 2017 at 7:31 AM, Jeff Layton wrote:
> On Sat, 2017-02-11 at 01:42 -0500, David Windsor wrote:
>>
>>
>> > Signed-off-by: David Windsor
>> > ---
>> > fs/nfsd/nfs4state.c | 6 +++---
>> > 1 file changed, 3 insertions(+), 3 deletions(-)
>> >
>> > diff --git a/fs/nfsd/nfs4state.c b/f
On Sat, 2017-02-11 at 01:42 -0500, David Windsor wrote:
>
>
> > Signed-off-by: David Windsor
> > ---
> > fs/nfsd/nfs4state.c | 6 +++---
> > 1 file changed, 3 insertions(+), 3 deletions(-)
> >
> > diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
> > index a0dee8a..b0f3010 100644
> > ---
> Signed-off-by: David Windsor
> ---
> fs/nfsd/nfs4state.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
> index a0dee8a..b0f3010 100644
> --- a/fs/nfsd/nfs4state.c
> +++ b/fs/nfsd/nfs4state.c
> @@ -196,7 +196,7 @@ stati
In furtherance of the KSPP effort to add overflow protection to kernel
reference counters, a new type (refcount_t) and API have been created.
Part of the refcount_t API is refcount_inc(), which will not increment a
refcount_t variable if its value is 0 (as this would indicate a possible
use-after-f
14 matches
Mail list logo