File tree 3 files changed +3
-5
lines changed
3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,7 @@ CPP = gcc
2
2
LINKERFLAG = -lm
3
3
4
4
all :
5
- $(CPP ) mds_scanner.c -o mds_scanner $(LINKERFLAG )
6
- ./ mds_scanner
5
+ $(CPP ) mds_scanner.c -o mds_scanner $(LINKERFLAG ) -O3
7
6
8
7
.PHONY : clean
9
8
clean :
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ int main(void) {
68
68
int inode_size = super .s_inode_size ; /*1024 for mds*/
69
69
int max_inodes_per_group = super .s_inodes_per_group ; /*32768 for mds*/
70
70
int groups_in_flex_group = pow (2 , super .s_log_groups_per_flex ); /*16 for mds*/
71
- // printf("block size: %d\n"
71
+ printf ("block size: %d\n"
72
72
"total inodes: %d\n"
73
73
"free inodes: %d\n"
74
74
" used inodes: %d\n"
Original file line number Diff line number Diff line change @@ -2,8 +2,7 @@ CPP = gcc
2
2
LINKERFLAG = -lm
3
3
4
4
all :
5
- $(CPP ) oss_scanner.c -o oss_scanner $(LINKERFLAG )
6
- ./ oss_scanner
5
+ $(CPP ) oss_scanner.c -o oss_scanner $(LINKERFLAG ) -O3
7
6
8
7
.PHONY : clean
9
8
clean :
You can’t perform that action at this time.
0 commit comments