Re: [pnfs] [RFC 02/51] nfsd: dprint each op status in nfsd4_proc_compound

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Nov. 10, 2008, 22:41 +0200, Benny Halevy <bhalevy@xxxxxxxxxxx> wrote:
> Signed-off-by: Benny Halevy <bhalevy@xxxxxxxxxxx>

review 2008-11-12:
keep both dprintk's or just the bottom one (with the status)
in general: explain the kind of problem we need this for.

> ---
>  fs/nfsd/nfs4proc.c |    5 +++++
>  1 files changed, 5 insertions(+), 0 deletions(-)
> 
> diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c
> index 669461e..9fa60a3 100644
> --- a/fs/nfsd/nfs4proc.c
> +++ b/fs/nfsd/nfs4proc.c
> @@ -946,6 +946,11 @@ encode_op:
>  			nfsd4_encode_operation(resp, op);
>  			status = op->status;
>  		}
> +
> +		dprintk("nfsv4 compound op %p opcnt %d #%d: %d: status %d\n",
> +			args->ops, args->opcnt, resp->opcnt, op->opnum,
> +			be32_to_cpu(status));
> +
>  		if (cstate->replay_owner) {
>  			nfs4_put_stateowner(cstate->replay_owner);
>  			cstate->replay_owner = NULL;
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux