[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#309591: pmount: DANGEROUS default settings (sync)



also sprach Martin Pitt <mpitt@debian.org> [2005.05.18.1732 +0200]:
>      - Mount devices 'async' by default instead of 'sync'. This
>      will avoid physical damage of flash chips due to exaggerated
>      updating of inode/FAT structures and greatly speed up the
>      write throughput. On the bad side this makes it much less
>      safe to remove devices without proper umounting.

Ouch!!

What I am wondering is whether Linux provides a way to decrease the
flush interval on a per-filesystem level. I can see the problem with
synchronous updates and flash technology, but async is just calling
for trouble. If it were possible to cause flushing every 10 seconds
or so, this would be good.

I did not research this further. Thanks for your work (and pmount!)

-- 
Please do not send copies of list mail to me; I read the list!
 
 .''`.     martin f. krafft <madduck@debian.org>
: :'  :    proud Debian developer, admin, user, and author
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!
 
"alle menschen zerfallen, wie zu allen zeiten so auch jetzt noch, in
 sklaven und freie; denn wer von seinem tag nicht zwei drittel für
 sich hat, ist ein sklave, er sei übrigens wer er wolle: staatsmann,
 kaufmann, beamter, gelehrter."
                                                 - friedrich nietzsche

Attachment: signature.asc
Description: Digital signature


Reply to: