-
Type: Improvement
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: 1.1.0
-
Component/s: None
-
None
According to the stat() documentation, blksize is the "blocksize of filesystem IO". This corresponds to the GridFS chunk size.
The blocks field is always the "number of 512-byte blocks allocated" and has no direct relationship with blksize (see: this documentation). While we could easily calculate this value, it's not relevant to GridFS and users might be confused in thinking that it is actually the number of GridFS chunks. We should continue to leave it unset (i.e. 0).
- is related to
-
PHPLIB-248 GridFS should report file mode using stat(2) bits
- Closed
-
PHPLIB-249 GridFS stat should report modified and created timestamps
- Closed