Skip to content

Commit

Permalink
remove explicit tracing from fs
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed May 16, 2023
1 parent 766630c commit b466390
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions crates/turbo-tasks-fs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ use tokio::{
fs,
io::{AsyncBufReadExt, AsyncReadExt, BufReader},
};
use tracing::instrument;
use turbo_tasks::{
mark_stateful,
primitives::{BoolVc, StringReadRef, StringVc},
Expand Down Expand Up @@ -506,7 +505,6 @@ impl Debug for DiskFileSystem {
#[turbo_tasks::value_impl]
impl FileSystem for DiskFileSystem {
#[turbo_tasks::function]
#[instrument(skip_all)]
async fn read(&self, fs_path: FileSystemPathVc) -> Result<FileContentVc> {
let full_path = self.to_sys_path(fs_path).await?;
self.register_invalidator(&full_path)?;
Expand All @@ -523,7 +521,6 @@ impl FileSystem for DiskFileSystem {
}

#[turbo_tasks::function]
#[instrument(skip_all)]
async fn read_dir(&self, fs_path: FileSystemPathVc) -> Result<DirectoryContentVc> {
let full_path = self.to_sys_path(fs_path).await?;
self.register_dir_invalidator(&full_path)?;
Expand Down Expand Up @@ -578,7 +575,6 @@ impl FileSystem for DiskFileSystem {
}

#[turbo_tasks::function]
#[instrument(skip_all)]
async fn read_link(&self, fs_path: FileSystemPathVc) -> Result<LinkContentVc> {
let full_path = self.to_sys_path(fs_path).await?;
self.register_invalidator(&full_path)?;
Expand Down Expand Up @@ -668,7 +664,6 @@ impl FileSystem for DiskFileSystem {
}

#[turbo_tasks::function]
#[instrument(skip_all)]
async fn write(
&self,
fs_path: FileSystemPathVc,
Expand Down Expand Up @@ -740,7 +735,6 @@ impl FileSystem for DiskFileSystem {
}

#[turbo_tasks::function]
#[instrument(skip_all)]
async fn write_link(
&self,
fs_path: FileSystemPathVc,
Expand Down Expand Up @@ -818,7 +812,6 @@ impl FileSystem for DiskFileSystem {
}

#[turbo_tasks::function]
#[instrument(skip_all)]
async fn metadata(&self, fs_path: FileSystemPathVc) -> Result<FileMetaVc> {
let full_path = self.to_sys_path(fs_path).await?;
self.register_invalidator(&full_path)?;
Expand Down

0 comments on commit b466390

Please sign in to comment.