svn commit: r354324 - head/stand/libsa/zfs

Toomas Soome tsoome at FreeBSD.org
Sun Nov 3 21:36:30 UTC 2019


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;


More information about the svn-src-all mailing list