[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 ]

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

Comment by Minh Diep [ 18/Sep/12 ]

landed on master

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