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

Mtab check optional #1486

Closed
wants to merge 1 commit into from
Closed

Mtab check optional #1486

wants to merge 1 commit into from

Conversation

Deixx
Copy link
Contributor

@Deixx Deixx commented Jul 26, 2024

No description provided.

@Deixx Deixx added the RFC Request For Comments label Jul 26, 2024
@pep8speaks
Copy link

pep8speaks commented Jul 26, 2024

Hello @Deixx! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2024-09-10 08:57:42 UTC

@Deixx Deixx force-pushed the mtab-check-optional branch from 62f8881 to 5256127 Compare July 26, 2024 10:39
@Deixx Deixx force-pushed the mtab-check-optional branch 4 times, most recently from b9733ea to fd7662c Compare September 10, 2024 08:56
system (e.g. in certain container images). This blocks
stop/remove operations. With making this check optional
the duty of checking mounts falls to kernel.
Test modified to check operations with and without mtab.

Signed-off-by: Daniel Madej <[email protected]>
@Deixx Deixx removed the RFC Request For Comments label Sep 10, 2024
@Deixx Deixx force-pushed the mtab-check-optional branch from fd7662c to a2f20d1 Compare September 10, 2024 08:57
Comment on lines +1837 to 1845
cas_printf(LOG_ERR,
"Can't stop cache instance %d. Device %s is mounted!\n",
cache_id, mstruct->mnt_fsname);
} else {
cas_printf(LOG_ERR,
"Can't remove core %d from cache %d."
" Device %s is mounted!\n",
core_id, cache_id, mstruct->mnt_fsname);
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This function should only check whether cores are mounted. The error messages should be printed by the caller function

@robertbaldyga robertbaldyga deleted the mtab-check-optional branch September 10, 2024 12:55
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

Successfully merging this pull request may close these issues.

4 participants