Print this page
5404 smbfs needs mmap support
Portions contributed by: Gordon Ross <gordon.w.ross@gmail.com>
@@ -230,19 +230,21 @@
* Misc. bookkeeping
*/
cred_t *r_cred; /* current credentials */
u_offset_t r_nextr; /* next read offset (read-ahead) */
long r_mapcnt; /* count of mmapped pages */
+ uint_t r_inmap; /* to serialize read/write and mmap */
uint_t r_count; /* # of refs not reflect in v_count */
uint_t r_awcount; /* # of outstanding async write */
uint_t r_gcount; /* getattrs waiting to flush pages */
uint_t r_flags; /* flags, see below */
- uint32_t n_flag; /* NXXX flags below */
+ uint32_t n_flag; /* N--- flags below */
uint_t r_error; /* async write error */
kcondvar_t r_cv; /* condvar for blocked threads */
avl_tree_t r_dir; /* cache of readdir responses */
rddir_cache *r_direof; /* pointer to the EOF entry */
+ u_offset_t r_modaddr; /* address for page in writenp */
kthread_t *r_serial; /* id of purging thread */
list_t r_indelmap; /* list of delmap callers */
/*
* Attributes: local, and as last seen on the server.