Inode Number Management via Local Metadata Server Zones
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In data storage clusters, the synchronization of inode numbers among metadata servers requires significant communication, impacting performance and limiting efficiency, as each update necessitates a cluster-wide lock and communication among servers.
Innovation Solution
Implementing a method that allows inode number management using a local data structure, such as a bitmap, where each bit indicates whether an inode number is available for allocation, enabling independent updates and range reservations without requiring synchronization with other servers upon each allocation or deallocation, thereby reducing communication needs.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If cluster-wide synchronization is implemented to ensure inode number consistency among metadata servers, then data integrity is maintained, but communication overhead and performance degradation occur
Solution Approach 1:
The patent divides the cluster into multiple zones, with each zone maintaining its own independent inode number space managed by a local metadata server. This segmentation allows each zone to operate autonomously without requiring cluster-wide synchronization, thereby maintaining data integrity within zones while eliminating the performance penalty of global synchronization.
Solution Approach 2:
The patent implements local metadata servers that manage inode numbers independently within their respective zones. Each metadata server maintains local consistency and makes allocation decisions autonomously based on local conditions, rather than requiring centralized coordination. This local quality approach resolves the contradiction by ensuring reliability at the local level while improving overall productivity through reduced communication overhead.
2Stability of the object's composition
If cluster-wide lock is acquired on every inode allocation or deallocation, then synchronization consistency is maintained, but communication requirements and time consumption increase significantly
Solution Approach 1:
The patent segments the inode number management into independent zone-level operations. Each metadata server manages inode allocations within its zone without acquiring cluster-wide locks, thereby maintaining synchronization consistency locally while dramatically reducing the time consumption associated with acquiring and releasing global locks.
Solution Approach 2:
The patent performs preliminary zone identification and inode space assignment when zones are created or when metadata servers join the cluster. This preliminary action establishes clear boundaries for each metadata server's authority, allowing subsequent inode operations to proceed without repeated synchronization overhead, thus maintaining consistency while reducing time consumption.
3Loss of information
If frequent synchronization communication is implemented among all metadata servers, then inode number tracking is kept synchronized, but network bandwidth consumption and system complexity increase
Solution Approach 1:
The patent divides the global inode number tracking into independent zone-level tracking operations. Each metadata server maintains accurate inode number tracking within its zone without requiring frequent communication with other servers, thereby preserving tracking accuracy while eliminating the network bandwidth consumption associated with cluster-wide synchronization.
Solution Approach 2:
The patent creates independent copies of the inode number management functionality at each metadata server, with each server maintaining its own local data structures and allocation state for its zone. This copying approach ensures that each server has accurate local tracking information without requiring continuous synchronization communication, thus reducing network bandwidth consumption while maintaining tracking accuracy.
Data Source
AI summary
Embodiments of the present invention are directed to a method and system for managing resources. The method includes receiving a request, within an electronic system, which corresponds to an object of a file system and accessing a local data structure. The data structure comprises information corresponding to a plurality of inode numbers. The method further includes performing the request and updating the local data structure based on the request. The updating of the local data structure is independent of a plurality of data structures of a cluster of servers.


