From: Boaz Harrosh <bharrosh@panasas.com>
To: "Adamson, Andy" <William.Adamson@netapp.com>
Cc: "Myklebust, Trond" <Trond.Myklebust@netapp.com>,
"<linux-nfs@vger.kernel.org>" <linux-nfs@vger.kernel.org>
Subject: Re: [PATCH 1/3] NFSv4.1 do not call LAYOUTRETURN when there are no legs
Date: Tue, 5 Jun 2012 18:01:27 +0300 [thread overview]
Message-ID: <4FCE1F47.7090303@panasas.com> (raw)
In-Reply-To: <AAE6059A-E7A5-4377-A68A-AC6CB90C1666@netapp.com>
On 06/05/2012 04:36 PM, Adamson, Andy wrote:
>
> On Jun 2, 2012, at 7:00 PM, Boaz Harrosh wrote:
>
>> On 06/01/2012 08:19 PM, andros@netapp.com wrote:
>>
>>> From: Andy Adamson <andros@netapp.com>
>>>
>>
>>
>> I wish you would send your patches preceded with a [PATCHSET 0/x]
>> That gives us a short summery and a little background on its motivation.
>
> I often do. These patches actually stand alone so I didn't this
> time.
>
> This patch is totally explained by the patch title, patch comments,
> and in-line comments. With out this patch, we can end up sending a
> LAYOUTRETURN with no layout segments that need to be returned! Why?
> because as noted in the patch comments, mark_matching_lsegs_invalid
> does not indicate when the plh_segs list is empty…etc. When? well, as
> noted in the in-line code comments, when the pnfs_layout_hdr has an
> empty plh_segs which an occur when a LAYOUTGET fails, or when
> LAYOUTGET succeeded, but the deviceid is marked invalid
>
Yes I noticed that the comment was very good. The in-code comment does
not replace the commit title/message. I would prefer it repeated also
in the patch text and/or in the cover-letter. Just to ease on the threshold
to entry.
> What else is there to say?!
>
> I guess I can add the --cover-letter to the git format-patch and
> cut/paste to it.
>
I'm not sure what you meant. But yes exactly ;-)
> -->Andy
>
>>
Thanks
Boaz
prev parent reply other threads:[~2012-06-05 15:01 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-01 17:19 [PATCH 1/3] NFSv4.1 do not call LAYOUTRETURN when there are no legs andros
2012-06-01 17:19 ` [PATCH 2/3] NFSv4.1 mark layout when already returned andros
2012-06-02 22:51 ` Boaz Harrosh
2012-06-05 13:36 ` Adamson, Andy
2012-06-05 13:47 ` Andy Adamson
2012-06-05 14:54 ` Boaz Harrosh
2012-06-05 19:22 ` Andy Adamson
2012-06-05 20:49 ` Boaz Harrosh
2012-06-11 9:56 ` Benny Halevy
2012-06-11 10:44 ` Boaz Harrosh
2012-06-11 14:04 ` Benny Halevy
2012-06-11 14:21 ` Adamson, Andy
2012-06-11 14:51 ` Boaz Harrosh
2012-06-11 15:41 ` Adamson, Andy
2012-06-11 16:14 ` Boaz Harrosh
2012-06-11 15:08 ` Adamson, Andy
2012-06-11 15:38 ` Benny Halevy
2012-06-11 15:52 ` Adamson, Andy
2012-06-11 16:07 ` Boaz Harrosh
2012-06-11 15:59 ` Boaz Harrosh
2012-06-01 17:19 ` [PATCH 3/3] NFSv4.1 fence all layouts with file layout data server connection errors andros
2012-06-02 22:33 ` Boaz Harrosh
2012-06-04 13:49 ` Adamson, Andy
2012-06-02 23:00 ` [PATCH 1/3] NFSv4.1 do not call LAYOUTRETURN when there are no legs Boaz Harrosh
2012-06-05 13:36 ` Adamson, Andy
2012-06-05 15:01 ` Boaz Harrosh [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FCE1F47.7090303@panasas.com \
--to=bharrosh@panasas.com \
--cc=Trond.Myklebust@netapp.com \
--cc=William.Adamson@netapp.com \
--cc=linux-nfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.