whitespace

parent 0a6d1120
...@@ -313,9 +313,9 @@ struct fellow_cache_seg { ...@@ -313,9 +313,9 @@ struct fellow_cache_seg {
unsigned refcnt; unsigned refcnt;
VTAILQ_ENTRY(fellow_cache_seg) lru_list; VTAILQ_ENTRY(fellow_cache_seg) lru_list;
struct fellow_cache_obj *fco; struct fellow_cache_obj *fco;
struct fellow_disk_seg *disk_seg; struct fellow_disk_seg *disk_seg;
struct buddy_ptr_extent alloc; struct buddy_ptr_extent alloc;
size_t len; // used size size_t len; // used size
}; };
...@@ -561,13 +561,13 @@ struct fellow_cache_obj { ...@@ -561,13 +561,13 @@ struct fellow_cache_obj {
unsigned magic; unsigned magic;
#define FELLOW_CACHE_OBJ_MAGIC 0x837d555f #define FELLOW_CACHE_OBJ_MAGIC 0x837d555f
// protected by fco mtx (in fcs) // protected by fco mtx (in fcs)
enum fcol_state logstate; enum fcol_state logstate;
struct fellow_cache_lru *lru; struct fellow_cache_lru *lru;
struct buddy_ptr_page fco_mem; // nil == embedded struct buddy_ptr_page fco_mem; // nil == embedded
pthread_mutex_t mtx; pthread_mutex_t mtx;
pthread_cond_t cond; // signal ready pthread_cond_t cond; // signal ready
struct objcore *oc; struct objcore *oc;
...@@ -636,7 +636,7 @@ struct fellow_busy_io { ...@@ -636,7 +636,7 @@ struct fellow_busy_io {
struct fellow_busy *fbo; struct fellow_busy *fbo;
union { union {
// for FBIO_SEG // for FBIO_SEG
struct fellow_cache_seg *fcs; struct fellow_cache_seg *fcs;
// for FBIO_SEGLIST // for FBIO_SEGLIST
struct fellow_busy_io_seglist seglist; struct fellow_busy_io_seglist seglist;
} u; } u;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment