Print this page
patch remove-dont-swap-flag

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/nfs/nfs_srv.c
          +++ new/usr/src/uts/common/fs/nfs/nfs_srv.c
↓ open down ↓ 1203 lines elided ↑ open up ↑
1204 1204           */
1205 1205          ns->ns_status = RFSWRITE_INITVAL;
1206 1206  
1207 1207          nrp = &nrpsp;
1208 1208          nrp->wa = wa;
1209 1209          nrp->ns = ns;
1210 1210          nrp->req = req;
1211 1211          nrp->cr = cr;
1212 1212          nrp->thread = curthread;
1213 1213  
1214      -        ASSERT(curthread->t_schedflag & TS_DONT_SWAP);
1215      -
1216 1214          /*
1217 1215           * Look to see if there is already a cluster started
1218 1216           * for this file.
1219 1217           */
1220 1218          mutex_enter(&rfs_async_write_lock);
1221 1219          for (lp = rfs_async_write_head; lp != NULL; lp = lp->next) {
1222 1220                  if (bcmp(&wa->wa_fhandle, lp->fhp,
1223 1221                      sizeof (fhandle_t)) == 0)
1224 1222                          break;
1225 1223          }
↓ open down ↓ 1778 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX