Whamcloud - gitweb
LU-17022 osd: convert od_connects to atomic_t
[fs/lustre-release.git] / lustre / osd-ldiskfs / osd_internal.h
index 7ef6fe5..f12df03 100644 (file)
@@ -300,7 +300,7 @@ struct osd_device {
        spinlock_t                od_osfs_lock;
 
        int                       od_fallocate_zero_blocks;
-       int                       od_connects;
+       atomic_t                  od_connects;
        struct lu_site            od_site;
 
        struct osd_obj_map      *od_ost_map;