Skip to content
Commit 6543f803 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFSv4.1/pnfs: replace broken pnfs_put_lseg_async



You cannot call pnfs_put_lseg_async() more than once per lseg, so it
is really an inappropriate way to deal with a refcount issue.

Instead, replace it with a function that decrements the refcount, and
puts the final 'free' operation (which is incompatible with locks) on
the workqueue.

Cc: Weston Andros Adamson <dros@primarydata.com>
Fixes: e6cf82d1: pnfs: add pnfs_put_lseg_async
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent ea18cb3f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment