Re: [PATCH 0/5] Intro: convert lockd to kthread and fix use-after-free (try #7)

From: Neil Brown
Date: Thu Jan 10 2008 - 20:37:46 EST


On Thursday January 10, jlayton@xxxxxxxxxx wrote:
> This is the seventh patchset to fix the use-after-free problem in lockd
....

This patch set looks good now. I'm happy to give it a

Reviewed-by: NeilBrown <neilb@xxxxxxx>

Two remaining issues that I would like to see address, but don't
necessarily need to be part of this set, are:

1/ When the last nfsd thread dies, lockd should drop all locks, even
if there are active nfs mounts.
One approach might be:
export nlmsvc_invalidate_all
call it from nfsd_last_thread
worry about how to change grace_period_expire.

2/ get rid of svc_wake_up and ->b_daemon
Maybe change b_daemon to b_rqstp and just call
wake_up(&block->b_rqstp->rq_wait)

Thanks,
NeilBrown


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/