Use lazy unmount for read-only mount points.
A lazy unmount detaches the mount point immediately. Existing file accesses will continue, but any new accesses will fail. For read-only mounts, we do this because there are no changes to sync back to the volume and therefore it is ok if the volume is removed without waiting for the unmount. Note, this doesn't take into account the safety of removing media that should be "safely removed", such as hard disks. BUG=789562,680903 Change-Id: I4dca06f825d5f3b4012bafa9a43e05bfe6455d23 Reviewed-on: https://chromium-review.googlesource.com/1184645Reviewed-by:Joel Hockey <joelhockey@chromium.org> Commit-Queue: Anand Mistry <amistry@chromium.org> Cr-Commit-Position: refs/heads/master@{#585410}
Showing
Please register or sign in to comment