lib: fs: convert some verbose log messages to trace messages
This commit is contained in:
@@ -148,7 +148,7 @@ static enum fs_status handle_msg(struct fs_context *ctx)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (status != KERN_OK) {
|
if (status != KERN_OK) {
|
||||||
kern_logf("message recv error %d", status);
|
kern_tracef("message recv error %d", status);
|
||||||
return FS_ERR_INTERNAL_FAILURE;
|
return FS_ERR_INTERNAL_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -157,7 +157,7 @@ static enum fs_status handle_msg(struct fs_context *ctx)
|
|||||||
status = fs_context_dispatch_msg(ctx, &msg);
|
status = fs_context_dispatch_msg(ctx, &msg);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
kern_logf(
|
kern_tracef(
|
||||||
"unknown message protocol %u",
|
"unknown message protocol %u",
|
||||||
msg.msg_header.hdr_interface);
|
msg.msg_header.hdr_interface);
|
||||||
xpc_msg_reply_error(&msg, KERN_UNSUPPORTED);
|
xpc_msg_reply_error(&msg, KERN_UNSUPPORTED);
|
||||||
@@ -172,7 +172,7 @@ static enum fs_status handle_page_request(struct fs_context *ctx)
|
|||||||
equeue_packet_page_request_t packet;
|
equeue_packet_page_request_t packet;
|
||||||
vm_controller_recv(ctx->ctx_vm_controller, &packet);
|
vm_controller_recv(ctx->ctx_vm_controller, &packet);
|
||||||
struct file_mapping *mapping = (struct file_mapping *)packet.req_vmo;
|
struct file_mapping *mapping = (struct file_mapping *)packet.req_vmo;
|
||||||
kern_logf(
|
kern_tracef(
|
||||||
"received page request [%zx-%zx] for file %s",
|
"received page request [%zx-%zx] for file %s",
|
||||||
packet.req_offset,
|
packet.req_offset,
|
||||||
packet.req_offset + packet.req_length,
|
packet.req_offset + packet.req_length,
|
||||||
@@ -191,7 +191,7 @@ static enum fs_status handle_page_request(struct fs_context *ctx)
|
|||||||
packet.req_offset,
|
packet.req_offset,
|
||||||
length);
|
length);
|
||||||
if (status != FS_SUCCESS) {
|
if (status != FS_SUCCESS) {
|
||||||
kern_logf("map-read failed with code %d", status);
|
kern_tracef("map-read failed with code %d", status);
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user