G_RAID3_DEBUG
G_RAID3_DEBUG(4, "%s: Waking up %p.", __func__, sc);
G_RAID3_DEBUG(2, "No I/O requests for %s, it can be destroyed.",
G_RAID3_DEBUG(1, "root_mount_rel[%u] %p", __LINE__,
G_RAID3_DEBUG(4, "%s: Waking up %p.", __func__,
G_RAID3_DEBUG(5, "%s: Let's see...", __func__);
G_RAID3_DEBUG(3,
G_RAID3_DEBUG(3, "Running event for disk %s.",
G_RAID3_DEBUG(4, "%s: Waking up %p.", __func__,
G_RAID3_DEBUG(1, "Thread exiting.");
G_RAID3_DEBUG(5, "%s: I'm here 1.", __func__);
G_RAID3_DEBUG(1, "Thread exiting.");
G_RAID3_DEBUG(5, "%s: I'm here 4.", __func__);
G_RAID3_DEBUG(5, "%s: I'm here 9.", __func__);
G_RAID3_DEBUG(1, "Disk %s (device %s) marked as dirty.",
G_RAID3_DEBUG(1, "Disk %s (device %s) marked as clean.",
G_RAID3_DEBUG(0, "Device %s: rebuilding provider %s.", sc->sc_name,
G_RAID3_DEBUG(0, "Device %s: rebuilding provider %s finished.",
G_RAID3_DEBUG(0, "Device %s: rebuilding provider %s stopped.",
G_RAID3_DEBUG(0, "Device %s launched (%u/%u).", pp->name,
G_RAID3_DEBUG(0, "Device %s: provider %s destroyed.", sc->sc_name,
G_RAID3_DEBUG(0, "Force device %s start due to timeout.", sc->sc_name);
G_RAID3_DEBUG(0, "Device %s was started before the freshest "
G_RAID3_DEBUG(3, "State for %s disk: %s.",
G_RAID3_DEBUG(1, "root_mount_rel[%u] %p",
G_RAID3_DEBUG(0,
G_RAID3_DEBUG(0,
G_RAID3_DEBUG(1, "Device %s state changed from %s to %s.",
G_RAID3_DEBUG(1,
G_RAID3_DEBUG(1, "root_mount_rel[%u] %p", __LINE__,
G_RAID3_DEBUG(1,
G_RAID3_DEBUG(1, "root_mount_rel[%u] %p", __LINE__,
#define DISK_STATE_CHANGED() G_RAID3_DEBUG(1, \
G_RAID3_DEBUG(3, "Changing disk %s state from %s to %s.",
G_RAID3_DEBUG(1, "Device %s: provider %s detected.",
G_RAID3_DEBUG(1, "Device %s: provider %s activated.",
G_RAID3_DEBUG(0, "Device %s: provider %s is stale.",
G_RAID3_DEBUG(0, "Device %s: provider %s disconnected.",
G_RAID3_DEBUG(1, "Cannot read metadata from %s (error=%d).",
G_RAID3_DEBUG(0,
G_RAID3_DEBUG(1, "MD5 metadata hash mismatch for provider %s.",
G_RAID3_DEBUG(0, "The blocksize is too big.");
G_RAID3_DEBUG(1, "Invalid disk %s number (no=%u), skipping.",
G_RAID3_DEBUG(1, "Disk %s (no=%u) already exists, skipping.",
G_RAID3_DEBUG(1,
G_RAID3_DEBUG(1, "Invalid metadata (mediasize %% sectorsize != "
G_RAID3_DEBUG(1,
G_RAID3_DEBUG(4, "%s: Sending event %p.", __func__, ep);
G_RAID3_DEBUG(1,
G_RAID3_DEBUG(1,
G_RAID3_DEBUG(1,
G_RAID3_DEBUG(1,
G_RAID3_DEBUG(1,
G_RAID3_DEBUG(1,
G_RAID3_DEBUG(1, "Both VERIFY and ROUND-ROBIN flags exist on "
G_RAID3_DEBUG(1,
G_RAID3_DEBUG(2, "Adding disk %s.", pp->name);
G_RAID3_DEBUG(0, "Component %s (device %s) broken, skipping.",
G_RAID3_DEBUG(0, "Upgrading metadata on %s (v%d->v%d).",
G_RAID3_DEBUG(1, "Destroying canceled.");
G_RAID3_DEBUG(0, "Destroying %s (delayed).", sc->sc_name);
G_RAID3_DEBUG(0, "Cannot destroy %s.", sc->sc_name);
G_RAID3_DEBUG(2, "Access request for %s: r%dw%de%d.", pp->name, acr,
G_RAID3_DEBUG(4, "%s: Waking up %p.", __func__, sc);
G_RAID3_DEBUG(1, "Creating device %s (id=%u).", md->md_name, md->md_id);
G_RAID3_DEBUG(4, "%s: Sleeping %p.", __func__, ep);
G_RAID3_DEBUG(1, "Cannot create kernel thread for %s.",
G_RAID3_DEBUG(1, "Device %s created (%u components, id=%u).",
G_RAID3_DEBUG(1, "root_mount_hold %p", sc->sc_rootmount);
G_RAID3_DEBUG(1,
G_RAID3_DEBUG(1,
G_RAID3_DEBUG(1, "Device %s is still open, so it "
G_RAID3_DEBUG(4, "%s: Waking up %p.", __func__, sc);
G_RAID3_DEBUG(4, "%s: Sleeping %p.", __func__, &sc->sc_worker);
G_RAID3_DEBUG(4, "%s: Woken up %p.", __func__, &sc->sc_worker);
G_RAID3_DEBUG(2, "Tasting %s.", pp->name);
G_RAID3_DEBUG(0, "Device %s already configured.",
G_RAID3_DEBUG(0, "Cannot create device %s.",
G_RAID3_DEBUG(1, "Adding disk %s to %s.", pp->name, gp->name);
G_RAID3_DEBUG(0, "Cannot add disk %s to %s (error=%d).",
G_RAID3_DEBUG(0, "Warning! Cannot register shutdown event.");
G_RAID3_DEBUG(2,
G_RAID3_DEBUG(2,
G_RAID3_DEBUG(1, "Consumer %s destroyed.", cp->provider->name);
G_RAID3_DEBUG(2, "Consumer %s destroyed.", cp->provider->name);
G_RAID3_DEBUG(2, "Access %s r%dw%de%d = %d", pp->name, -cp->acr,
G_RAID3_DEBUG(1, "Consumer %s destroyed.", pp->name);
G_RAID3_DEBUG(0, "Cannot open consumer %s (error=%d).",
G_RAID3_DEBUG(2, "Disk %s connected.", g_raid3_get_diskname(disk));
G_RAID3_DEBUG(4, "%s: Waking up %p.", __func__, ep);
G_RAID3_DEBUG(0, "Device %s destroyed.", gp->name);
G_RAID3_DEBUG(0, "Cannot write metadata on %s "
G_RAID3_DEBUG(1, "Cannot write metadata on %s "
G_RAID3_DEBUG(2, "Metadata on %s cleared.",
G_RAID3_DEBUG(0,
G_RAID3_DEBUG(2, "Metadata on %s updated.",
G_RAID3_DEBUG(0,
G_RAID3_DEBUG(1, "Device %s: syncid bumped to %u.", sc->sc_name,
G_RAID3_DEBUG(1, "Device %s: genid bumped to %u.", sc->sc_name,
G_RAID3_DEBUG(1, "Disk %s (device %s) marked as clean.",
G_RAID3_DEBUG(1, "Disk %s (device %s) marked as dirty.",
G_RAID3_DEBUG(4, "%s: Sleeping %p.", __func__, (ident)); \
G_RAID3_DEBUG(4, "%s: Woken up %p.", __func__, (ident)); \