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

Reduce FUSE transport log level. #200

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/api/server/sync_io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,7 @@ impl<F: FileSystem + Sync> Server<F> {
match self.fs.init(capable) {
Ok(want) => {
let enabled = capable & want;
info!(
debug!(
"FUSE INIT major {} minor {}\n in_opts: {:?}\nout_opts: {:?}",
major, minor, capable, enabled
);
Expand Down
2 changes: 1 addition & 1 deletion src/transport/fusedev/fuse_t_session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ impl FuseChannel {
return Err(IoError(e.into()));
}
Errno::ENODEV => {
info!("fuse filesystem umounted");
debug!("got ENODEV when reading fuse fd, assuming fuse filesystem was umounted.");
return Ok(());
}
e => {
Expand Down
8 changes: 4 additions & 4 deletions src/transport/fusedev/linux_session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ impl FuseChannel {
}
}
} else if event.is_error() {
info!("FUSE channel already closed!");
debug!("FUSE channel already closed!");
return Err(SessionFailure("epoll error".to_string()));
} else {
// We should not step into this branch as other event is not registered.
Expand All @@ -362,7 +362,7 @@ impl FuseChannel {
// Handle wake up event first. We don't read the event fd so that a LEVEL triggered
// event can still be delivered to other threads/daemons.
if need_exit {
info!("Will exit from fuse service");
debug!("Will exit from fuse service");
return Ok(None);
}
if fusereq_available {
Expand Down Expand Up @@ -399,7 +399,7 @@ impl FuseChannel {
continue;
}
Errno::ENODEV => {
info!("fuse filesystem umounted");
debug!("got ENODEV when reading fuse fd, assuming fuse filesystem was umounted.");
return Ok(None);
}
e => {
Expand Down Expand Up @@ -464,7 +464,7 @@ fn fuse_kern_mount(
}

if let Some(mountpoint) = mountpoint.to_str() {
info!(
debug!(
"mount source {} dest {} with fstype {} opts {} fd {}",
fsname,
mountpoint,
Expand Down