This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author josh.r
Recipients josh.r, socketpair
Date 2016-08-29.21:50:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1472507403.11.0.478990761889.issue27879@psf.upfronthosting.co.za>
In-reply-to
Content
So syncfs is basically "sync, but only for a single file system corresponding to a given open file"? Given it's Linux only (doesn't look like it's part of any standard that UNIX or BSD OSes would provide), it seems rather special purpose to expose in Python. Is there some equivalent API for UNIX/BSD variants that `syncfs` could use to provide a single API that works on at least all UNIX-like systems? If not, it seems like this is an optimization that doesn't generalize; is it worth providing it instead of just having users call os.sync and accepting the cost of syncing other file systems?
History
Date User Action Args
2016-08-29 21:50:03josh.rsetrecipients: + josh.r, socketpair
2016-08-29 21:50:03josh.rsetmessageid: <1472507403.11.0.478990761889.issue27879@psf.upfronthosting.co.za>
2016-08-29 21:50:03josh.rlinkissue27879 messages
2016-08-29 21:50:03josh.rcreate