mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 01:20:52 +07:00
4e5117ba0a
Improve estimates on the number of needed credits for quota transaction. Now we distinguish blocks that might need to be allocated and blocks that only need to be rewritten. Also we distinguish deleting of a quota structure and creating of a new one. Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
25 lines
460 B
C
25 lines
460 B
C
/*
|
|
* File with in-memory structures of old quota format
|
|
*/
|
|
|
|
#ifndef _LINUX_DQBLK_V1_H
|
|
#define _LINUX_DQBLK_V1_H
|
|
|
|
/* Id of quota format */
|
|
#define QFMT_VFS_OLD 1
|
|
|
|
/* Root squash turned on */
|
|
#define V1_DQF_RSQUASH 1
|
|
|
|
/* Numbers of blocks needed for updates */
|
|
#define V1_INIT_ALLOC 1
|
|
#define V1_INIT_REWRITE 1
|
|
#define V1_DEL_ALLOC 0
|
|
#define V1_DEL_REWRITE 2
|
|
|
|
/* Special information about quotafile */
|
|
struct v1_mem_dqinfo {
|
|
};
|
|
|
|
#endif /* _LINUX_DQBLK_V1_H */
|