Merge lp://staging/~jderose/filestore/scandir-statvfs into lp://staging/filestore
Proposed by
Jason Gerard DeRose
Status: | Merged |
---|---|
Merged at revision: | 221 |
Proposed branch: | lp://staging/~jderose/filestore/scandir-statvfs |
Merge into: | lp://staging/filestore |
Diff against target: |
113 lines (+46/-12) 2 files modified
filestore.py (+30/-10) test_filestore.py (+16/-2) |
To merge this branch: | bzr merge lp://staging/~jderose/filestore/scandir-statvfs |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
dmedia Dev | Pending | ||
Review via email: mp+78549@code.staging.launchpad.net |
Description of the change
After thinking about it more, I decided that having scandir() include the statvfs() info was the best idea as it overloads scandir() a bit to much, plus there are places where scandir() would be used but the statvfs info isn't needed (migrations come to mind).
So the merge:
* Adds StatVFS.readonly and StatVFS.frsize attributes, which are two other interesting bits of info that higher level code will use (especially frsize)
* Adds a new statvfs() function that is easily usable by the dmedia importer and FileStore.statvfs()
* Changes FileStore.statvfs() to use the new statvfs() function
To post a comment you must log in.