39 Commits

Author SHA1 Message Date
FactorialN
6fe01302b5 implemented hard link 2023-12-02 02:32:19 -08:00
FactorialN
998e8a20cc fixed large file io 2023-12-02 00:24:30 -08:00
FactorialN
de198df6d1 fixed a bug of indirect layers 2023-12-01 19:04:00 -08:00
FactorialN
f1cfc5022e minor adjustment 2023-12-01 18:25:34 -08:00
FactorialN
9bd1825b6c partially implemented rename, renaming dir and failure pending 2023-12-01 16:09:55 -08:00
FactorialN
fa53122834 fixed an issue when reading and writing binary files 2023-12-01 14:52:14 -08:00
FactorialN
c768bed015 fixed an issue with writing 2023-12-01 13:57:29 -08:00
FactorialN
c2f3aa1310 fixed fuse offset issue, but still haven't fixed the problem with written file length 2023-12-01 10:59:06 -08:00
FactorialN
c06287dd4d current state: trying to fix a weird offset error 2023-12-01 03:32:32 -08:00
FactorialN
8ce7f295ce fixed 2 bugs in unlink 2023-12-01 00:34:29 -08:00
FactorialN
489997e11e some stable state 2023-11-30 18:57:02 -08:00
FactorialN
3bb4f185b7 test commit with credential 2023-11-30 17:41:55 -08:00
FactorialN
bcbd23003f a correct readdir 2023-11-30 17:36:26 -08:00
FactorialN
73b2142d17 this is a test commit for io debug 2023-11-30 17:13:56 -08:00
Ziao
a5dda54e12 add unlink test 2023-11-28 16:19:56 -08:00
Ziao
e69527a10b pass layer2_API test, still need review 2023-11-28 14:35:55 -08:00
Ziao
1b3cd99912 solve some bugs in layer2merge 2023-11-28 09:56:08 -08:00
Ziao
4adfd6a173 make code compile again 2023-11-26 17:11:34 -08:00
Ziao
01ac7e9d11 Merge remote-tracking branch 'origin/layer2dev' into layer2merge 2023-11-26 17:08:22 -08:00
Ziao
8bdf353fda make code compile, but doesn't pass test_layer2_API 2023-11-26 17:04:47 -08:00
Victor
d0659eb379 Pass WriteTest with fischl_write 2023-11-26 14:07:21 -08:00
Victor
fd175e5470 still working on fischl_write 2023-11-26 13:22:12 -08:00
Victor
f5b572fa8c implement open,release,read and pass read test; write under construct 2023-11-24 23:56:19 -08:00
Victor
39d6ab26ff create for regular file; mknod for spcial file. include simplified fuse_common.h to register file descriptor 2023-11-24 13:12:42 -08:00
Victor
60678711d2 reform test_layer2_API with googletest framwork and revise mkdir & mknod return type 2023-11-22 21:43:38 -08:00
Ziao
460bcd5e7e support 255 character filenames; use in memory tree to speed up namei 2023-11-21 17:21:43 -08:00
Victor
29dfe9a4a5 create hash-tree hierarchy direntry file 2023-11-19 16:53:29 -08:00
Ziao
68212773a6 make mkdir and mknod return error if file or dir already exists; add tests 2023-11-18 20:52:36 -08:00
Ziao
5dbac3d9e3 support unlinking files and directories 2023-11-18 20:20:32 -08:00
Ziao
1e735ea7d0 support arbitrary number of files in each folder (previously 64) 2023-11-18 19:25:53 -08:00
Ziao
1259cf5487 fix bug for indirect datablock r/w, add . and .. to every directory 2023-11-18 17:42:36 -08:00
Ziao
dcf0601039 fix bugs for last commit (support indirect datablocks r/w) 2023-11-18 14:55:30 -08:00
Ziao
a04c3d6334 support indirect datablock read/write 2023-11-18 13:57:47 -08:00
Victor
c45667461b Rename mkfile to create_new_inode and update mode argument to detect S_IFDIR condition 2023-11-18 01:46:44 -08:00
Victor
aacb3e0193 change name init_inode to new_inode, return struct inode pointer 2023-11-18 01:10:48 -08:00
Victor
ee66c10796 simplify checking path way in mkdir and mknod 2023-11-17 14:37:26 -08:00
Victor
f2aac32365 delete redundant assignment 2023-11-17 02:16:02 -08:00
WangZiao
46ce866c57 support creating files and directories, support namei 2023-11-16 18:36:35 -08:00
WangZiao
e09e952558 specify some apis for layer 2 2023-11-12 16:13:45 -08:00