US Patent:
20110282850, Nov 17, 2011
Inventors:
Vaibhav Kamra - Seattle WA, US
Pradeep Madhavarapu - Kirkland WA, US
Cristian Diaconu - Redmond WA, US
Jun Fang - Sammamish WA, US
Srini Acharya - Sammamish WA, US
Michael Warmington - Redmond WA, US
Maciej Plaza - Bellevue WA, US
Artem Oks - Bellevue WA, US
Sankhyayan Debnath - Seattle WA, US
Assignee:
Microsoft Corporation - Redmond WA
International Classification:
G06F 17/30
US Classification:
707704, 707E17007, 707E1701
Abstract:
A database management system having a database component, which includes a lock manager, and a filesystem component. The filesystem component is configured to: generate a mapping between one or more filesystem access modes, one or more filesystem sharing modes and one or more database locks, receive a request from a filesystem stack to perform one or more actions on data in a database, identify a filesystem access mode and a filesystem share mode of the request, determine which one of the database locks corresponds to the filesystem access mode and the filesystem share mode of the request based on the mapping, and receive a notification lock on the data from the lock manager when no other database locks conflict with the notification lock, wherein the notification lock corresponds to the one of the database locks. After receiving the notification lock on the data, the lock manager is configured to send a notification to the filesystem component when a subsequent request from a database stack includes accessing the data.