lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Fri, 18 Sep 2015 19:36:06 +0800
From:	Jeff Chua <jeff.chua.linux@...il.com>
To:	Dave Chinner <david@...morbit.com>
Cc:	lkml <linux-kernel@...r.kernel.org>
Subject: Re: how to check how much data left to sync to disk at umount?

On Thu, Sep 17, 2015 at 9:50 AM, Dave Chinner <david@...morbit.com> wrote:
> On Mon, Sep 07, 2015 at 01:29:33PM +0800, Jeff Chua wrote:
>> 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?
>
> $ grep "Dirty\|Writeback" /proc/meminfo
>
> And infer from that.

It be a big challenge if the SD write is not the only disk activity!

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ