Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get stuck when the block size is 1MByte #71

Open
iloop2020 opened this issue Jul 11, 2024 · 1 comment
Open

Get stuck when the block size is 1MByte #71

iloop2020 opened this issue Jul 11, 2024 · 1 comment

Comments

@iloop2020
Copy link

Hi,

I face a stuck issue when

  1. the block size is 1MByte
  2. Create 1024 files with 1Kbyte

It will got stuck at the 1024th file creation.

I found the lfs_dir_traverse() is keep looking.

Thank you for your support.

@iloop2020
Copy link
Author

Hi,

Here is the procdure to reproduce the issue:

  1. Settings:
    • BLOCK_SIZE:1048576
    • BLOCK_COUNT:4095
    • CACHE_SIZE:1048576
  2. Create 1024 file
        for i in $(seq 1 1024);
        do
                dd if=/dev/random of=disk/test$i.img bs=16 count=1 oflag=dsync
        done

Will get stuck and the filesystem corruption.

Thank you for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant