diff options
author | Matthew Ahrens <[email protected]> | 2015-07-11 02:19:41 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2015-07-14 10:35:21 -0700 |
commit | 905edb405da278ccb019c656408f82796a344510 (patch) | |
tree | 156f806c86f7ad50155e73fb8edb295d653f2ea5 /module/zfs/uberblock.c | |
parent | 93f6d7e2e5050ee8894c0ae5e7c91aa74187cd86 (diff) |
Illumos 5347 - idle pool may run itself out of space
5347 idle pool may run itself out of space
Reviewed by: Alex Reece <[email protected]>
Reviewed by: George Wilson <[email protected]>
Reviewed by: Steven Hartland <[email protected]>
Reviewed by: Richard Elling <[email protected]>
Approved by: Dan McDonald <[email protected]>
References:
https://github.com/illumos/illumos-gate/commit/231aab8
https://github.com/illumos/illumos-gate/commit/4a92375 3642
https://www.illumos.org/issues/5347
https://github.com/zfsonlinux/zfs/commit/89b1cd6 (partial commit & fix)
https://github.com/zfsonlinux/zfs/commit/fbeddd6 Illumos 4390
https://github.com/zfsonlinux/zfs/commit/2696dfa Illumos 3642, 3643
Porting notes:
This is completing the partial fix from FreeBSD
Ported-by: kernelOfTruth [email protected]
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #3586
Diffstat (limited to 'module/zfs/uberblock.c')
-rw-r--r-- | module/zfs/uberblock.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/module/zfs/uberblock.c b/module/zfs/uberblock.c index a07dc00ae..f8bdecdf5 100644 --- a/module/zfs/uberblock.c +++ b/module/zfs/uberblock.c @@ -20,7 +20,7 @@ */ /* * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. - * Copyright (c) 2013 by Delphix. All rights reserved. + * Copyright (c) 2013, 2014 by Delphix. All rights reserved. */ #include <sys/zfs_context.h> @@ -40,10 +40,10 @@ uberblock_verify(uberblock_t *ub) } /* - * Update the uberblock and return a boolean value indicating whether - * anything changed in this transaction group. + * Update the uberblock and return TRUE if anything changed in this + * transaction group. */ -int +boolean_t uberblock_update(uberblock_t *ub, vdev_t *rvd, uint64_t txg) { ASSERT(ub->ub_txg < txg); |