[LU-7300] ptlrpc_request_free() after failed ptlrpc_request_pack() leaves an import referenced Created: 15/Oct/15  Updated: 15/Dec/17

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Alex Zhuravlev Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: easy

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

many functions (like osc_setattr()) call ptlrpc_request_free() after failed ptlrpc_request_pack() to release the request. this seem to leave the import referenced and then lead to umount getting stuck.



 Comments   
Comment by John Hammond [ 15/Oct/15 ]

This would be a good place to fix the strange error handling in __ptlrpc_request_bufs_pack() where we drop a reference on the import. See http://review.whamcloud.com/#/c/16765/.

Comment by Joseph Gmitter (Inactive) [ 15/Oct/15 ]

Alex,
Assigning to you per our discussion.
Thanks.
Joe

Generated at Sat Feb 10 02:07:42 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.