Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1219935 > unrolled thread
| Started by | Jeff Chua <jeff.chua.linux@gmail.com> |
|---|---|
| First post | 2015-09-07 07:40 +0200 |
| Last post | 2015-09-18 13:40 +0200 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.kernel
how to check how much data left to sync to disk at umount? Jeff Chua <jeff.chua.linux@gmail.com> - 2015-09-07 07:40 +0200
Re: how to check how much data left to sync to disk at umount? Dave Chinner <david@fromorbit.com> - 2015-09-17 04:00 +0200
Re: how to check how much data left to sync to disk at umount? Jeff Chua <jeff.chua.linux@gmail.com> - 2015-09-18 13:40 +0200
| From | Jeff Chua <jeff.chua.linux@gmail.com> |
|---|---|
| Date | 2015-09-07 07:40 +0200 |
| Subject | how to check how much data left to sync to disk at umount? |
| Message-ID | <q5XjQ-4JR-11@gated-at.bofh.it> |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Dave Chinner <david@fromorbit.com> |
|---|---|
| Date | 2015-09-17 04:00 +0200 |
| Message-ID | <q9wEq-5yg-5@gated-at.bofh.it> |
| In reply to | #1219935 |
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. -Dave. -- Dave Chinner david@fromorbit.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Jeff Chua <jeff.chua.linux@gmail.com> |
|---|---|
| Date | 2015-09-18 13:40 +0200 |
| Message-ID | <qa2bf-1mt-3@gated-at.bofh.it> |
| In reply to | #1226622 |
On Thu, Sep 17, 2015 at 9:50 AM, Dave Chinner <david@fromorbit.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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web