01 00 02... 0 f
10 of 11 12... 1 f
.
F0 F1... FF
Each folder and there are 256 such folder below, and then save the file, the file name after processing, storage in turn back once upon a time, do what good?
Guess there should be as follows: several possible
1. Each folder on the file handle number is limited, usually 65535, in order to avoid the too small file, not in the same folder to store;
2. The file that is stored for each require a hash or other special operation, save and take according to certain rules, find convenient take file;
3. Each folder starting position on the disk alignment, improve the efficiency of reading,
O please help explain the great god door, especially not have 2, 3 kinds of may,
CodePudding user response:
1 and 2 is rightCodePudding user response:
If there is a hash, but file distribution and very concentrated, 17 files, a total of 175 m are in 00/00 directory, and other directories a all have no, I am not uploaded on the same day, the points for a few days to upload,CodePudding user response:
Is 726 m wrong,