Rounding error would present a problem for us and our users. My 2 cents .. quotas > 4GB are fairly rare. I know with a large student user base with 50-75Mb quotas rounding to the nearest K wouldn't be desirable. I can't imagine doing a search on a mailbox 10G in size ;-0 .. I'm curious is the mailstore lots of little files or a few big ones?? What client are you using the access a 10G mailbox??
Paul Rob Siemborski wrote: > > On Wed, 2 Jul 2003, John Alton Tamplin wrote: > > > Rob Siemborski wrote: > > > > >We're using 32-bit numbers to track the quota. We'd need to be more > > >clever than that to get around it. > > > > Other than a conversion issue on existing mailstores, couldn't this be > > solved by just using the same units IMAP does, ie 1k rather than bytes? > > Not without some loss of information (or a great increase in the expense > of calculating quotas). > > Cyrus tracks current usage on a quota root separately from the actual > files in that quota root. To do this reasonably you need to use the > actual space used, not some rounding of it to the nearest K. > > -Rob > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456 > Research Systems Programmer * /usr/contributed Gatekeeper