how to check how much data left to sync to disk at umount?

From: Jeff Chua
Date: Mon Sep 07 2015 - 01:30:00 EST


When umount a slow device such as an SD card, the command will take a
while to run depending on how much data is left to write to the
device. Is there way to check how much data is remaining waiting to
write to the device?

Thanks,
Jeff.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/