Unmounting a mountpoint failed to remove sync points contained in the mountpoint.

Description

If we have a mount point at /mnt
and a syncpoint at /mnt/sync
umount /mnt fails to remove the syncmount /mnt/sync

Environment

None

Activity

Show:
Gene Pang
November 27, 2018, 4:50 AM

why does the unmount fail to remove the sync point, and why does switching the order fix it?

David Zhu
November 27, 2018, 6:37 PM

Because the removing of syncpoint logic needs to look up the mount point, to resolve the path, if the mount point is already removed, the resolution will come back empty.

Hence we need to switch the order.

Assignee

David Zhu

Reporter

David Zhu

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure