Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Nov 2019 21:36:30 +0000 (UTC)
From:      Toomas Soome <tsoome@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r354324 - head/stand/libsa/zfs
Message-ID:  <201911032136.xA3LaUcq090047@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tsoome
Date: Sun Nov  3 21:36:29 2019
New Revision: 354324
URL: https://svnweb.freebsd.org/changeset/base/354324

Log:
  loader: allow booting from pool with log device
  
  Apparently people are using log with boot pool, so we can not just
  error out there. Still we will need to investigate how to handle
  log properly.

Modified:
  head/stand/libsa/zfs/zfs.c

Modified: head/stand/libsa/zfs/zfs.c
==============================================================================
--- head/stand/libsa/zfs/zfs.c	Sun Nov  3 21:19:52 2019	(r354323)
+++ head/stand/libsa/zfs/zfs.c	Sun Nov  3 21:36:29 2019	(r354324)
@@ -669,11 +669,14 @@ zfs_dev_open(struct open_file *f, ...)
 		spa = spa_find_by_guid(dev->pool_guid);
 	if (!spa)
 		return (ENXIO);
+#if 0
+	/* Apparently too many are using slog with boot pool. */
 	if (spa->spa_with_log) {
 		printf("Reading pool %s is not supported due to log device.\n",
 		    spa->spa_name);
 		return (ENXIO);
 	}
+#endif
 	mount = malloc(sizeof(*mount));
 	if (mount == NULL)
 		rv = ENOMEM;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911032136.xA3LaUcq090047>