mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-24 03:08:51 +03:00
Illumos 5347 - idle pool may run itself out of space
5347 idle pool may run itself out of space Reviewed by: Alex Reece <alex.reece@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Steven Hartland <killing@multiplay.co.uk> Reviewed by: Richard Elling <richard.elling@richardelling.com> Approved by: Dan McDonald <danmcd@omniti.com> 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 kerneloftruth@gmail.com Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #3586
This commit is contained in:
committed by
Brian Behlendorf
parent
93f6d7e2e5
commit
905edb405d
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user