> @@ -1508,7 +1509,15 @@ exi_cache_trim(struct exportinfo *exi)
>* used for NFSAUTH_CACHE_TRIM seconds.
>*/
> for (c = avl_first(tree); c != NULL; c = AVL_NEXT(tree, c)) {
> - rw_enter(&c->authc_lock, RW_WRITER);
> +
Yes
---
Reply to this email directly or view it on GitHub:
https://github.com/openzfs/openzfs/pull/38#issuecomment-157809941___
developer mailing list
developer@open-zfs.org
http://lists.open-zfs.org/mailman/listinfo/developer
@danmcd Can we count you as a reviewer?
---
Reply to this email directly or view it on GitHub:
https://github.com/openzfs/openzfs/pull/38#issuecomment-157807377___
developer mailing list
developer@open-zfs.org
http://lists.open-zfs.org/mailman/listinfo/d
> @@ -1508,7 +1509,15 @@ exi_cache_trim(struct exportinfo *exi)
>* used for NFSAUTH_CACHE_TRIM seconds.
>*/
> for (c = avl_first(tree); c != NULL; c = AVL_NEXT(tree, c)) {
> - rw_enter(&c->authc_lock, RW_WRITER);
> +
> @@ -1508,7 +1509,15 @@ exi_cache_trim(struct exportinfo *exi)
>* used for NFSAUTH_CACHE_TRIM seconds.
>*/
> for (c = avl_first(tree); c != NULL; c = AVL_NEXT(tree, c)) {
> - rw_enter(&c->authc_lock, RW_WRITER);
> +
> @@ -1508,7 +1509,15 @@ exi_cache_trim(struct exportinfo *exi)
>* used for NFSAUTH_CACHE_TRIM seconds.
>*/
> for (c = avl_first(tree); c != NULL; c = AVL_NEXT(tree, c)) {
> - rw_enter(&c->authc_lock, RW_WRITER);
> +
> @@ -1508,7 +1509,15 @@ exi_cache_trim(struct exportinfo *exi)
>* used for NFSAUTH_CACHE_TRIM seconds.
>*/
> for (c = avl_first(tree); c != NULL; c = AVL_NEXT(tree, c)) {
> - rw_enter(&c->authc_lock, RW_WRITER);
> +
> @@ -1508,7 +1509,15 @@ exi_cache_trim(struct exportinfo *exi)
>* used for NFSAUTH_CACHE_TRIM seconds.
>*/
> for (c = avl_first(tree); c != NULL; c = AVL_NEXT(tree, c)) {
> - rw_enter(&c->authc_lock, RW_WRITER);
> +
> @@ -1508,7 +1509,15 @@ exi_cache_trim(struct exportinfo *exi)
>* used for NFSAUTH_CACHE_TRIM seconds.
>*/
> for (c = avl_first(tree); c != NULL; c = AVL_NEXT(tree, c)) {
> - rw_enter(&c->authc_lock, RW_WRITER);
> +
LGTM
---
Reply to this email directly or view it on GitHub:
https://github.com/openzfs/openzfs/pull/38#issuecomment-157361065___
developer mailing list
developer@open-zfs.org
http://lists.open-zfs.org/mailman/listinfo/developer
Reviewed by: Paul Dagnelie
Reviewed by: Matthew Ahrens
Reviewed by: Sebastien Roy
When the system runs low on memory it will invoke kmem_reap() to reap
all the kmem caches. The reaping processes each cache serially, first
calling the reclaim callback. We have seen a couple of caches where the
r
11 matches
Mail list logo