[LU-1078] two minor issues in lnet Created: 07/Feb/12  Updated: 12/May/12  Resolved: 12/May/12

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.0.0, Lustre 2.1.0, Lustre 1.8.x (1.8.0 - 1.8.5)
Fix Version/s: Lustre 2.3.0

Type: Bug Priority: Trivial
Reporter: Isaac Huang (Inactive) Assignee: Bob Glossman (Inactive)
Resolution: Fixed Votes: 0
Labels: lnet, selftest

Rank (Obsolete): 4623

 Description   

I recently noticed these:

1. The doxygen comment above LNetNIInit in lnet/lnet/api-ni.c says:
"return 0 on success, and non-zero error code on failures."

This is wrong. LNetNIInit can return > 0 on success.

2. In lst_test_add_ioctl()

753 LIBCFS_ALLOC(dstgrp, args->lstio_tes_dgrp_nmlen + 1);
754 if (srcgrp == NULL)$
755 goto out;

In line 754, s/srcgrp/dstgrp/?

I don't have time to fix and test and so on. Please fix them.



 Comments   
Comment by Andreas Dilger [ 07/Feb/12 ]

I don't have time to fix and test and so on. Please fix them.

Isaac,
as you can well imagine, everyone is busy with projects of their own as well, so the best way to fix minor issues like this is to do it yourself. The time it takes to submit a patch for such a minor change is very minimal with the new automated build and test system. Creating a patch, commit it to Git with a proper commit comment referencing this LU-1078 ticket (see http://wiki.whamcloud.com/display/PUB/Commit+Comments for details), pushing it to Gerrit, and asking for reviews is sufficient, since the patch will be built and tested automatically before it could land in any case.

Comment by Isaac Huang (Inactive) [ 07/Feb/12 ]

Well, please reassign it to me then. When I have a chance I'll have a look at the document and fix it.

Comment by Peter Jones [ 17/Feb/12 ]

Minh

Why don't you clean these LNET issues up when you get a chance?

Thanks

Peter

Comment by Minh Diep [ 17/Feb/12 ]

sure

Comment by Peter Jones [ 07/May/12 ]

Reassigning to Bob

Comment by Bob Glossman (Inactive) [ 08/May/12 ]

http://review.whamcloud.com/#change,2692

Comment by Peter Jones [ 12/May/12 ]

Landed for 2.3

Generated at Sat Feb 10 01:13:17 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.