Re: [PATCH 06/14] SUNRPC: change various server-side #defines to enum

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

 




> On Jul 30, 2023, at 6:14 PM, NeilBrown <neilb@xxxxxxx> wrote:
> 
> On Mon, 31 Jul 2023, NeilBrown wrote:
>> On Mon, 31 Jul 2023, Chuck Lever wrote:
>>> On Tue, Jul 18, 2023 at 09:37:58AM -0400, Chuck Lever wrote:
>>>> On Tue, Jul 18, 2023 at 04:38:08PM +1000, NeilBrown wrote:
>>>>> When a sequence of numbers are needed for internal-use only, an enum is
>>>>> typically best.  The sequence will inevitably need to be changed one
>>>>> day, and having an enum means the developer doesn't need to think about
>>>>> renumbering after insertion or deletion.  The patch will be easier to
>>>>> review.
>>>> 
>>>> Last sentence needs to define the antecedant of "The patch".
>>> 
>>> I've changed the last sentence in the description to "Such patches
>>> will be easier ..."
>>> 
>>> I've applied 1/5 through 5/5, with a few cosmetic changes, to the
>>> SUNRPC threads topic branch. 6/6 needed more work:
>> 
>> Ah - ok.  I was all set to resubmit with various changes and
>> re-ordering.  I guess I waited too long.

It's a topic branch. Send diffs and I can squash them in.


>>> All this will appear in the nfsd repo later today.
>> 
>> Not yet....
> 
> No, they are there - the top date looked rather old so I thought there
> was nothing new yet.  Sorry.

There are some old changes in there already, but I'm still testing
the latest set.


--
Chuck Lever






[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