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

After file move, filter unregister failed #17

Open
tohosys opened this issue Feb 11, 2020 · 0 comments
Open

After file move, filter unregister failed #17

tohosys opened this issue Feb 11, 2020 · 0 comments

Comments

@tohosys
Copy link

tohosys commented Feb 11, 2020

Dear @slavaim,

After some mv operations in filtetring area, we can not unregister filter module with msg of "Device or resource busy".

OS:

  • CentOS 6 or 7

Test:

  1. rfsctl -f mvflt -i /test1
  2. mv /test1/file1 /test1/file2
  3. rfsctl -f mvflt -c
  4. echo -n "1" > /sys/fs/redirfs/filters/mvflt/unregister
    bash: echo: write error: Device or resource busy

Cause:

  • counter mismatch error at following line on "redirfs_unregister_filter" function:
    -- if (atomic_read(&rflt->count) != 3) {

Would you please give me some solution?

Thanks.

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