Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 15d01beb authored by Dolev Raviv's avatar Dolev Raviv Committed by Matt Wagantall
Browse files

mtd: ubi: reduce messages during scrub all PEBs



A daemon in userspace is periodically activating scrub-all PEBs sysfs
trigger. The scrubbing process causes extensive logging.
This patch reduces the logging during the scrubbing process.

Change-Id: I1c6396b54e39ea7d183e9d5e609c9632d610d85f
Signed-off-by: default avatarDolev Raviv <draviv@codeaurora.org>
parent d1431ba1
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -1196,9 +1196,6 @@ static int wear_leveling_worker(struct ubi_device *ubi, struct ubi_work *wrk,
	}

	/* The PEB has been successfully moved */
	if (scrubbing)
		ubi_msg("scrubbed PEB %d (LEB %d:%d), data moved to PEB %d",
			e1->pnum, vol_id, lnum, e2->pnum);
	ubi_free_vid_hdr(ubi, vid_hdr);

	spin_lock(&ubi->wl_lock);