User base from 0x0->0x10000; user image size limit from 128MB->16MB; trigger race condition on k210
This commit is contained in:
parent
a341b338c8
commit
ff5055386b
5 changed files with 18 additions and 14 deletions
|
@ -56,13 +56,13 @@ fn easy_fs_pack() -> std::io::Result<()> {
|
|||
.write(true)
|
||||
.create(true)
|
||||
.open(format!("{}{}", target_path, "fs.img"))?;
|
||||
f.set_len(128 * 2048 * 512).unwrap();
|
||||
f.set_len(16 * 2048 * 512).unwrap();
|
||||
f
|
||||
})));
|
||||
// 128MiB, at most 4095 files
|
||||
// 16MiB, at most 4095 files
|
||||
let efs = EasyFileSystem::create(
|
||||
block_file.clone(),
|
||||
128 * 2048,
|
||||
16 * 2048,
|
||||
1,
|
||||
);
|
||||
let root_inode = Arc::new(EasyFileSystem::root_inode(&efs));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue