Presentation is loading. Please wait.

Presentation is loading. Please wait.

Pune Institute of Computer Technology Calsoft Pvt Limited Orion Filesystem File-level host-based virtualization.

Similar presentations


Presentation on theme: "Pune Institute of Computer Technology Calsoft Pvt Limited Orion Filesystem File-level host-based virtualization."— Presentation transcript:

1 Pune Institute of Computer Technology Calsoft Pvt Limited Orion Filesystem File-level host-based virtualization

2 Aggregating information stored in disparate formats Naming System should reflect rather than mold structure Ordering and Grouping Support for Extensible File Attributes. Leverage Database Search Power to a file system. Produce a Unique Solution as a File system which aggregates files based on file attributes. Multiple Views Platform rather than application utility Organizational view change frequently than physical Motivation

3 Typical user interaction What organization today? ORION to the rescue Mkdir Search Copy Paste

4 value Attribute Record attr_type_text/ num/ date/ bool attr_name inode no inode num name type attr_type Database Schema

5 User Space Database Cache Fault Handler MySql Database ORION FS scheme Database Update Daemon <DIR nam=mp3 sql=“ext=mp3> <DIR nam=prj sql=“prj=OFS”> XML DOV files <DIR nam=mp3 sql=“ext=mp3> <DIR nam=prj sql=“prj=OFS”> XML DOV files mount syscall Linux 2.4 Virtual File System (VFS) Interface ORION view core Recordset Cache UK Interaction IPC mechanism UK Interaction IPC mechanism Object Store Underlying Filesystem Updating Thread Updating Thread Architecture Overview

6 Overall Working / Dirname <?DOVMAGIC Dirname Sql Dirname2 Sql / Dirname <?DOVMAGIC Dirname Sql Dirname2 Sql mount –t ORION none /mnt/ofs –o /mnt/objStore 00245000024501002450200245030024504 00245050024506002454500245110024512 00245130024561400245615002456160024517 ofs_read_super(struct superblock *sb,void *data) { 1. Extract the super block reference from objectstore path Embed it in our super block refererce 2. Read the DOV file create the virtual dentries 3. Attach root on the root inode’s private area return Summary: Initialize Each View & its superblock with its Private data. After this Point each view has its identity stored in Its sb } ofs_read_super(struct superblock *sb,void *data) { 1. Extract the super block reference from objectstore path Embed it in our super block refererce 2. Read the DOV file create the virtual dentries 3. Attach root on the root inode’s private area return Summary: Initialize Each View & its superblock with its Private data. After this Point each view has its identity stored in Its sb } Dir 2 Qn 2 Dirname Query Ino / view root Name Query Is-Sticky Ino Name Query IsReceptor Ino Dir 3 Qn 3 Dir 1 Qn 1 Dir Q Qn n Sb->s_root->d_inode->ugeneric_ip - Shared Resources Recordset Cache Rs Ino Name INODE ALLOCATION BITMAP 1111111111111111111111 111100000000000000000 00000000000000000

7 ORION Core ofs_readdir() Cache Fault Handler Cache Fault Handler SQL+PIDSQL+PID RS+PIDRS+PID [Root]# ls CFiles [Root]# ls CFiles 2.4 6 Get inode from object store Pipe down Get SQL Query & run on database 2 2.1 create_query 2.2 Content Based Directory Listing /mnt/objStore 00245000024501 00245050024506 002451300245614 CFiles AND Text Type like C VFS getdents() Recorset Cache getrecordset(iNo ) ofs_lookup() 1 1 Ask Cache For record set Cache Hit Return pointer to record set 2 Cache Miss 2. 1 Communicate with user Space Fault Handler. Execute Thread DB Exec Query 2.3 2.2 Create SQL Query 2.3 Execute Query * ResolveDuplicates 2.4 Populate RS cache * Wake up Process waiting for Recordset 3 INODESINODES 3 Populating the Dentry Cache 3.1 Extract Inodes From Object Store iget(sb objStore) 3.2 Populate Dentry Cache With names attached d_add() Dentry Cache 3.13.2 User Mode Kernel Mode

8 ORION Store Filter Pre Calls Create() Post Calls Create() Logging Activities On the Object Store [root#] touch./view/newFile.xyz VFS create(dentry,inode) ORION Core ofs_create() 1 1 ORION create Make Vnodes compatible with lower filesystem /mnt/objStore 00245000024501 00245050024506 00245614 0024500 0024505 0024513 2 ORION Filter Update Database User Mode Kernel Mode 2 2.2 Update database to reflect changes on object Store activities. viz Create Delete Set attr Rename 3 Underlying Filesystem 3.1 Create the File With the Given Name 3 4 4 Trap post call of create 4.1 Rename The file with String representation of Ino newFile.xyz 00200399

9 WinFS File System to be shipped with Windows Longhorn Other Comparable Solutions

10 ORION Thank You ! Happy File Hunting


Download ppt "Pune Institute of Computer Technology Calsoft Pvt Limited Orion Filesystem File-level host-based virtualization."

Similar presentations


Ads by Google