[LU-1746] osd_xattr_list() in osd-zfs returns -ERANGE for LU_BUF_NULL Created: 15/Aug/12 Updated: 18/Sep/12 Resolved: 18/Sep/12 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.4.0 |
| Fix Version/s: | Lustre 2.4.0 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Li Wei (Inactive) | Assignee: | Minh Diep |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Severity: | 3 |
| Rank (Obsolete): | 4438 |
| Description |
|
osd-zfs's osd_xattr_list(), when called in the mdt_getxattr_pack_reply() path, returns -ERANGE for the valid size query. This could lead to failures in sanity 17k and 56w. The function should return the size of the xattr list if the caller passes in a NULL buffer. |
| Comments |
| Comment by Andreas Dilger [ 22/Aug/12 ] |
|
This is only a blocker for 2.4, since we don't support ZFS MDTs with 2.3. |
| Comment by Minh Diep [ 10/Sep/12 ] |
| Comment by Minh Diep [ 18/Sep/12 ] |
|
landed on master |