linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Synchronization in UBIFS (zero length files)
@ 2014-12-18  8:34 Tanya Brokhman
  2014-12-18 11:12 ` Richard Weinberger
  2015-01-31 12:52 ` Artem Bityutskiy
  0 siblings, 2 replies; 10+ messages in thread
From: Tanya Brokhman @ 2014-12-18  8:34 UTC (permalink / raw)
  To: Richard Weinberger, Artem Bityutskiy,
	linux-mtd@lists.infradead.org, Dolev Raviv

Hi Artem/Richard

I've been looking into the "zero length files" issue in UBIFS and came 
across "Synchronization exceptions for buggy applications" @ 
http://www.linux-mtd.infradead.org/doc/ubifs.html#L_sync_semantics. This 
section concludes with:

"We have plans to implement these features in UBIFS, but this has not 
been done yet. The problem is that UBI/MTD are fully synchronous and we 
cannot initiate asynchronous write-out, so we'd have to synchronously 
write files on close/rename, which is slow. So implementing these 
features would require implementing asynchronous I/O in UBI, which is a 
big job. But feel free to do this :-)."

So two questions:
1. was anything done in ubifs to handle file truncation and rename 
similar to ext4? Didn't find anything but afraid I might be missing 
something
2. Not sure I understand why "implementing these features would require 
implementing asynchronous I/O in UBI". Could you please elaborate on this?

Thanks,
Tanya Brokhman
-- 
Qualcomm Israel, on behalf of Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora 
Forum, a Linux Foundation Collaborative Project

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-02-01  8:40 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-18  8:34 Synchronization in UBIFS (zero length files) Tanya Brokhman
2014-12-18 11:12 ` Richard Weinberger
2014-12-18 14:53   ` Tanya Brokhman
2014-12-18 15:12     ` Richard Weinberger
2014-12-23  8:26       ` Tanya Brokhman
2014-12-23  9:24         ` Richard Weinberger
2014-12-23  9:48           ` Tanya Brokhman
2015-01-31 12:52 ` Artem Bityutskiy
2015-01-31 12:57   ` Bityutskiy, Artem
2015-02-01  8:39     ` Tanya Brokhman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).