[PATCH 06/12] vfs: Add a function to lazily unmount all mounts from any dentry.

2014-02-25 Thread Eric W. Biederman
The new function detach_mounts comes in two pieces. The first piece is a static inline test of d_mounpoint that returns immediately without taking any locks if d_mounpoint is not set. In the common case when mountpoints are absent this allows the vfs to continue running with it's same cacheline

[PATCH 06/12] vfs: Add a function to lazily unmount all mounts from any dentry.

2014-02-25 Thread Eric W. Biederman
The new function detach_mounts comes in two pieces. The first piece is a static inline test of d_mounpoint that returns immediately without taking any locks if d_mounpoint is not set. In the common case when mountpoints are absent this allows the vfs to continue running with it's same cacheline