|
@@ -31,7 +31,7 @@ static inline void nfs_inc_server_stats(const struct nfs_server *server,
|
|
cpu = get_cpu();
|
|
cpu = get_cpu();
|
|
iostats = per_cpu_ptr(server->io_stats, cpu);
|
|
iostats = per_cpu_ptr(server->io_stats, cpu);
|
|
iostats->events[stat]++;
|
|
iostats->events[stat]++;
|
|
- put_cpu_no_resched();
|
|
|
|
|
|
+ put_cpu();
|
|
}
|
|
}
|
|
|
|
|
|
static inline void nfs_inc_stats(const struct inode *inode,
|
|
static inline void nfs_inc_stats(const struct inode *inode,
|
|
@@ -50,7 +50,7 @@ static inline void nfs_add_server_stats(const struct nfs_server *server,
|
|
cpu = get_cpu();
|
|
cpu = get_cpu();
|
|
iostats = per_cpu_ptr(server->io_stats, cpu);
|
|
iostats = per_cpu_ptr(server->io_stats, cpu);
|
|
iostats->bytes[stat] += addend;
|
|
iostats->bytes[stat] += addend;
|
|
- put_cpu_no_resched();
|
|
|
|
|
|
+ put_cpu();
|
|
}
|
|
}
|
|
|
|
|
|
static inline void nfs_add_stats(const struct inode *inode,
|
|
static inline void nfs_add_stats(const struct inode *inode,
|
|
@@ -71,7 +71,7 @@ static inline void nfs_add_fscache_stats(struct inode *inode,
|
|
cpu = get_cpu();
|
|
cpu = get_cpu();
|
|
iostats = per_cpu_ptr(NFS_SERVER(inode)->io_stats, cpu);
|
|
iostats = per_cpu_ptr(NFS_SERVER(inode)->io_stats, cpu);
|
|
iostats->fscache[stat] += addend;
|
|
iostats->fscache[stat] += addend;
|
|
- put_cpu_no_resched();
|
|
|
|
|
|
+ put_cpu();
|
|
}
|
|
}
|
|
#endif
|
|
#endif
|
|
|
|
|