New issue
Advanced search Search tips

Issue 768744 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

Handle file size change more gracefully in VirtualFileProvider

Project Member Reported by hashimoto@chromium.org, Sep 26 2017

Issue description

In https://chromium-review.googlesource.com/c/chromiumos/platform2/+/612963, VirtualFileProvider started remembering each file's size when it's opened.
This is needed to support seek operations on a file system implemented with FUSE which caches file sizes and uses them to perform boundary check.
However, this introduces an unavoidable race problem when a file is modified while being read.
Probably we should implement some logic to mitigate this problem.
 
Summary: Handle file size change more gracefully in VirtualFileProvider (was: VirtualFileProvider)
Components: Platform>Apps>FileManager

Comment 3 by sashab@chromium.org, Feb 23 2018

Labels: CrOS-FilesApp

Comment 4 by sashab@chromium.org, Feb 28 2018

Labels: -CrOS-FilesApp
Cc: hashimoto@chromium.org
Labels: CrOSFilesFeature-ExternalMedia
Owner: ----
Status: Available (was: Assigned)

Sign in to add a comment