×

Method of and system for reverse mapping vnode pointers

  • US 8,615,502 B2
  • Filed: 04/20/2009
  • Issued: 12/24/2013
  • Est. Priority Date: 04/18/2008
  • Status: Active Grant
First Claim
Patent Images

1. Logic encoded in a non-transitory computer-readable storage medium and, when executed by a computer processor, is operable to perform operations of reverse mapping virtual node (vnode) pointers, comprising:

  • using a reverse name lookup cache (RNLC) to translate vnode pointers and file identifiers into file names and absolute path names, the operations comprising;

    intercepting a first function call into a virtual file system layer, wherein the first function call includes a first name of a file and first path name information associated with a first file reference of the file, and wherein the first intercepted function call is processed in the virtual file system layer to return the first file reference;

    populating a first entry of a table structure with the first file reference, the first name, and the first path name information, wherein the table holds one or more file references, names, and path name information, whereinone or more entries in the table structure have sufficient information to determine an absolute path name to the file,the table structure is organized into a vnode pointer (vp) table and a file identifier (fid) table, wherein each vp entry in the vp table comprises a vnode reference and absolute path information associated with a corresponding vnode, andeach fid entry in the fid table comprises a file structure and absolute path information associated with a corresponding fid; and

    converting a particular vnode reference to a particular file identifier upon trapping a function call inactivating a corresponding vnode, wherein the table structure is further populated with a particular file name associated with the corresponding inactivated vnode.

View all claims
  • 11 Assignments
Timeline View
Assignment View
    ×
    ×