• J
    quota: Increase size of variables for limits and inode usage · 12095460
    Jan Kara 提交于
    So far quota was fine with quota block limits and inode limits/numbers in
    a 32-bit type. Now with rapid increase in storage sizes there are coming
    requests to be able to handle quota limits above 4TB / more that 2^32 inodes.
    So bump up sizes of types in mem_dqblk structure to 64-bits to be able to
    handle this. Also update inode allocation / checking functions to use qsize_t
    and make global structure keep quota limits in bytes so that things are
    consistent.
    Signed-off-by: NJan Kara <jack@suse.cz>
    Signed-off-by: NMark Fasheh <mfasheh@suse.com>
    12095460
quota_v2.c 20.5 KB