[lkml]   [1999]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Quota file format proposal
> Which structs are 'indexed' by the UID? If the quota_time_limits
> are only stored once, you could better add them to the header
> struct to have one header and many quota_blocks...
The time limits will be there only once.. I just separated them to other structure as I'd like
to have first header completely implementation independent.. There are also times in quota_block -
they have to be there as they identify time, when soft quota changes into hard quota.

> Isn't it possible to code the uid/gid in the struct too, this way
> we dont have to write a 1GB(?) file for 2 users, one at UID0 and
> one at UID 131072... Since this struct is read into memory-structs
> some small handeling shouldn't really matter in performance...
We won't write 1GB of data. We take advantage of sparse files so there is almost no
difference between storage of UIDS 1000, 1010 and 1000, 10000...


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:51    [W:0.044 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site