Re: [PATCH] pnfs: Increase the refcount when LAYOUTGET fails the first time

2013-01-04 Thread Myklebust, Trond
On Fri, 2013-01-04 at 20:19 +0800, ycn...@gmail.com wrote: > From: Yanchuan Nian > > The layout will be set unusable if LAYOUTGET fails. Is it reasonable to > increase the refcount iff LAYOUTGET fails the first time? > > Signed-off-by: Yanchuan Nian > --- > fs/nfs/pnfs.c |2 +- > 1 files c

[PATCH] pnfs: Increase the refcount when LAYOUTGET fails the first time

2013-01-04 Thread ycnian
From: Yanchuan Nian The layout will be set unusable if LAYOUTGET fails. Is it reasonable to increase the refcount iff LAYOUTGET fails the first time? Signed-off-by: Yanchuan Nian --- fs/nfs/pnfs.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/nfs/pnfs.c b/fs/nfs/