svn commit: r320585 - releng/11.1/sys/geom/part
Marcelo Araujo
araujo at FreeBSD.org
Mon Jul 3 05:04:45 UTC 2017
Author: araujo
Date: Mon Jul 3 05:04:44 2017
New Revision: 320585
URL: https://svnweb.freebsd.org/changeset/base/320585
Log:
MFS r320566: MFC r320390:
With r318394 seems it breaks gpart(8) in some embedded systems such like PCEngines,
RPI1-B, Alix and APU2 boards as well as NanoBSD with the following message:
vnode_pager_generic_getpages_done: I/O read error 5
Seems the breakage was because it was missed to include acr in glabel update.
Approved by: re (delphij)
Modified:
releng/11.1/sys/geom/part/g_part.c
Directory Properties:
releng/11.1/ (props changed)
Modified: releng/11.1/sys/geom/part/g_part.c
==============================================================================
--- releng/11.1/sys/geom/part/g_part.c Mon Jul 3 04:25:28 2017 (r320584)
+++ releng/11.1/sys/geom/part/g_part.c Mon Jul 3 05:04:44 2017 (r320585)
@@ -886,7 +886,8 @@ g_part_ctl_commit(struct gctl_req *req, struct g_part_
if (!entry->gpe_deleted) {
/* Notify consumers that provider might be changed. */
if (entry->gpe_modified && (
- entry->gpe_pp->acw + entry->gpe_pp->ace) == 0)
+ entry->gpe_pp->acw + entry->gpe_pp->ace +
+ entry->gpe_pp->acr) == 0)
g_media_changed(entry->gpe_pp, M_NOWAIT);
entry->gpe_created = 0;
entry->gpe_modified = 0;
More information about the svn-src-releng
mailing list