Skip to content

removeMount should lock #17144

Closed
Closed

Description

@PVince81

@icewind1991 looks like "$view->removeMount()" doesn't lock.

We should exclusive-lock the mount point path (not the storage root) to avoid concurrent processes to access that path during the umount (in case sharing takes a while...)

Requires #17070 to be merged first for the extra argument.

The same should be done for adding mount points (when sharing, etc)

Activity

  1. modified the milestones: , on Jun 24, 2015
  2. PVince81 commented on Jul 1, 2015

    @PVince81
    ContributorAuthor

    @cmonteroluque @karlitschek @DeepDiver1975 moving to 8.1.1.
    Needed to make locking more watertight.

  3. MorrisJobke commented on Jul 17, 2015

    @MorrisJobke
    Contributor

    @PVince81 Is there any PR for this?

  4. PVince81 commented on Jul 17, 2015

    @PVince81
    ContributorAuthor

    No

  5. DeepDiver1975 commented on Jul 17, 2015

    @DeepDiver1975
    Contributor

    @PVince81 what is the criticality of this?

  6. PVince81 commented on Jul 17, 2015

    @PVince81
    ContributorAuthor
  7. modified the milestones: , on Jul 17, 2015
  8. ghost added this to the milestone on Aug 25, 2015
  9. ghost removed this from the milestone on Aug 25, 2015
  10. 11 remaining items

  11. ghost added this to the milestone on Feb 23, 2016
  12. ghost removed this from the milestone on Feb 23, 2016
  13. PVince81 commented on Mar 9, 2016

    @PVince81
    ContributorAuthor

    @nickvergessen mind taking over ? If we find that we don't need a lock there then I'm fine dropping it, but we need to verify this.

  14. modified the milestones: , on Mar 24, 2016
  15. lock commented on Aug 5, 2019

    @lock

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  16. locked as resolved and limited conversation to collaborators on Aug 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions