[BACK]Return to vfs_wapbl.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / kern

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/kern/vfs_wapbl.c between version 1.27 and 1.28

version 1.27, 2009/10/01 07:42:45 version 1.28, 2009/10/01 12:28:34
Line 784  wapbl_begin(struct wapbl *wl, const char
Line 784  wapbl_begin(struct wapbl *wl, const char
                    wl->wl_bufbytes_max / 2) ||                     wl->wl_bufbytes_max / 2) ||
                   ((wl->wl_bufcount + (lockcount * 10)) >                    ((wl->wl_bufcount + (lockcount * 10)) >
                    wl->wl_bufcount_max / 2) ||                     wl->wl_bufcount_max / 2) ||
                   (wapbl_transaction_len(wl) > wl->wl_circ_size / 2);                    (wapbl_transaction_len(wl) > wl->wl_circ_size / 2) ||
                     (wl->wl_dealloccnt >=
                      (wl->wl_dealloclim - (wl->wl_dealloclim >> 8)));
         mutex_exit(&wl->wl_mtx);          mutex_exit(&wl->wl_mtx);
   
         if (doflush) {          if (doflush) {
                 WAPBL_PRINTF(WAPBL_PRINT_FLUSH,                  WAPBL_PRINTF(WAPBL_PRINT_FLUSH,
                     ("force flush lockcnt=%d bufbytes=%zu "                      ("force flush lockcnt=%d bufbytes=%zu "
                     "(max=%zu) bufcount=%zu (max=%zu)\n",                      "(max=%zu) bufcount=%zu (max=%zu) "
                       "dealloccnt %d (lim=%d)\n",
                     lockcount, wl->wl_bufbytes,                      lockcount, wl->wl_bufbytes,
                     wl->wl_bufbytes_max, wl->wl_bufcount,                      wl->wl_bufbytes_max, wl->wl_bufcount,
                     wl->wl_bufcount_max));                      wl->wl_bufcount_max,
                       wl->wl_dealloccnt, wl->wl_dealloclim));
         }          }
   
         if (doflush) {          if (doflush) {

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28

CVSweb <webmaster@jp.NetBSD.org>