search for: vfsp

Displaying 5 results from an estimated 5 matches for "vfsp".

Did you mean: vfs
2005 Aug 15
3
[-mm PATCH 2/32] fs: fix-up schedule_timeout() usage
...); } /* @@ -441,7 +441,7 @@ xfs_flush_device( igrab(inode); xfs_syncd_queue_work(vfs, inode, xfs_flush_device_work); - delay(HZ/2); + delay(msecs_to_jiffies(500)); xfs_log_force(ip->i_mount, (xfs_lsn_t)0, XFS_LOG_FORCE|XFS_LOG_SYNC); } @@ -478,10 +478,9 @@ xfssyncd( wake_up(&vfsp->vfs_wait_sync_task); INIT_LIST_HEAD(&tmp); - timeleft = (xfs_syncd_centisecs * HZ) / 100; + timeleft = xfs_syncd_centisecs * msecs_to_jiffies(10); for (;;) { - set_current_state(TASK_INTERRUPTIBLE); - timeleft = schedule_timeout(timeleft); + timeleft = schedule_timeout_interruptibl...
2002 Feb 19
2
Dump Analysis -- when NCR server frozen by rsync
...LAGS 2220 65,7 2 187 29 0 0 2048 d---777 rw FORW BACK AFOR ABCK MAPSZ OLDSZ - 3732 - - 0 OWNER RWOWNER COUNT NEXTR IWANT IWANTRW IWANTG IWANTP 306 297 0 0 0 179 0 0 VNODE : VCNT VFSMNTED VFSP STREAMP VTYPE RDEV VDATA VFILOCKS VFLAG 187 0 c3cf7900 0 d - c3fb4ac0 0 root v_lck mutex lock: 0 type: excl sleep recur mtx sleep_on_busy: 0 flags: 0 db_flags: inited spinners: 0 processor: 0xffffffff use_count: 0...
2007 May 09
5
Refactor zfs_zget()
Hi, Since almost all operations in the FUSE low-level API identify files by inode number, I''ve been using zfs_zget() to get the corresponding znode/vnode in order to call the corresponding VFS function in zfs_vnops.c. However, there are some cases when zfs_zget() behaves slightly different than I need: 1) If zp->z_unlinked != 0 then zfs_zget() returns ENOENT. I need it to return
2012 Sep 30
2
rsync over NFSv4
Hi, my FreeBSD-9/stable machine (FreeBSD freebsd-tower.goebo.site 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #2 r241044M: Sat Sep 29 12:52:01 CEST 2012 lbo@freebsd-tower.goebo.site:/usr/obj/usr/src/sys/GENERIC i386) crashes reproducibly when rsync-ing files to an NFSv4 share on the FreeBSD machine. The crash makes the system reboot. The crash creates files in /var/crash which may be obtained
2007 Aug 27
17
statvfs change
...9;t cause EOVERFLOW. + */ + while (sbp->f_blocks > UINT32_MAX && sbp->f_frsize < (1U << 31)) { + sbp->f_frsize <<= 1; + sbp->f_blocks >>= 1; + sbp->f_bfree >>= 1; + sbp->f_bavail >>= 1; + } +} + static int cstatvfs32(struct vfs *vfsp, struct statvfs32 *ubp) { @@ -114,10 +135,28 @@ if (ds64.f_bfree == (fsblkcnt64_t)-1) ds64.f_bfree = UINT32_MAX; + /* + * If we''re about to cause EOVERFLOW with any of the inode + * counts, cap the value(s) at UINT32_MAX. + */ + if (ds64.f_files > UINT32_MAX) + ds64.f_file...