主权项 |
1. A method of performing read commands and write commands to a tiered bucket manager comprising a master bucket manager, a slave bucket manager and a migration thread, the method comprising:
receiving a write command sent from a first virtual machine to a host operating system running on a computing system, the write command instructing a storage system to store a first record at a first memory location, and
storing the first record in a first bucket of the master bucket manager if the master bucket manager is not full, elseevicting a second bucket of the master bucket manager that has been migrated to the slave bucket manager and storing the first record in the evicted second bucket of the master bucket manager, elseevicting a third bucket of the master bucket manager and storing the first record in the third bucket of the master bucket manager; and receiving a read command sent from the first virtual machine to the host operating system running on the computing system, the read command instructing the storage system to read a second record from a second memory location, and
determining that the second record is in the master bucket manager and reading the second record from the master bucket manager, elsedetermining that the second record has been evicted or migrated from the master bucket manager, determining that the second record is in the slave bucket manager, reading the second record from the slave bucket manager, performing a reverse filter function on the second record read from the slave bucket manager using the migration thread, writing the reverse filter functioned second record to the master bucket manager, and reading the reverse filter functioned second record from the master bucket manager. |