fixing "umount -f" for the NFS client
Marcelo Araujo
araujobsdport at gmail.com
Wed Oct 16 02:09:28 UTC 2013
2013/10/15 Rick Macklem <rmacklem at uoguelph.ca>
> araujo wrote:
> >
> >
> >
> >
> >
> >
> > 2013/9/5 Benjamin Kaduk < kaduk at mit.edu >
> >
> >
> >
> > On Wed, 4 Sep 2013, Rick Macklem wrote:
> >
> >
> >
> >
> > Benjamin Kaduk wrote:
> >
> >
> >
> > I think there are spare vfsops fields, so the MFC can be done in an
> > ABI-compatible way. The new routine is for optional functionality,
> > so it
> > seems fine.
> >
> > There are spares vfs ops in 10/current, but not in stable/9. An MFC
> > will
> > result in a VFS ABI change. (Since 10.0 hasn't been released yet, I
> > didn't
> > use one of the recently added spares.)
> >
> > Oh, right, I was looking at 10/current.
> >
> > Unless there are pressing calls for the feature in the stable
> > branches, it's probably best to hold off on the MFC, then. OpenAFS
> > has encountered a few KBI incompatibilities over the years (mostly
> > in the networking bits, if I remember correctly), and we can deal in
> > the future, but not having to is nice.
> >
> >
> >
> >
> > Hello Guys,
> >
> >
> > Is it possible to have it on 9-STABLE?
> > I tried to port the changes of revision 255136 made by rmacklem@ to a
> > 9.1-RELEASE but the bug is still there.
> >
> >
> > Any change to make it works on 9.1, 9.2 or 9-STABLE?
> >
> > The patch attached is based on 9.1-RELEASE.
> >
> The patch looks ok at a glance. Note that it can take
> up to 2-3minutes for a forced dismount to complete,
> depending on where the threads are waiting.
>
> If the mount is still there 5minutes after doing
> "umount -f", do a "ps axhl" and post the output
> of that to me. It may be getting stuck somewhere
> else than where I've seen during testing.
>
>
Hello Rick,
I made a test right now and the "umount -f" hang for almost 5 minutes and
nothing happens. Here attached is the output of "ps axhl" as you requested.
Any idea what could be?
Thank you so much by all support.
--
Marcelo Araujo
araujo at FreeBSD.org
-------------- next part --------------
UID PID PPID CPU PRI NI VSZ RSS MWCHAN STAT TT TIME COMMAND
0 0 0 0 -100 0 0 800 - DLs ?? 0:00.39 [kernel]
0 1 0 0 52 0 6276 552 wait ILs ?? 0:00.01 /sbin/init --
0 2 0 0 -16 0 0 16 crypto_w DL ?? 0:00.00 [crypto]
0 3 0 0 -16 0 0 16 crypto_r DL ?? 0:00.00 [crypto returns]
0 4 0 0 -16 10 0 16 swait DNL ?? 0:00.00 [scstd0]
0 5 0 0 -16 10 0 16 swait DNL ?? 0:00.00 [scstd1]
0 6 0 0 -16 10 0 16 swait DNL ?? 0:00.00 [scstd2]
0 7 0 0 -16 10 0 16 swait DNL ?? 0:00.00 [scstd3]
0 8 0 0 -16 10 0 16 swait DNL ?? 0:00.00 [scstd4]
0 9 0 0 -16 10 0 16 swait DNL ?? 0:00.00 [scstd5]
0 10 0 0 -16 0 0 16 audit_wo DL ?? 0:00.00 [audit]
0 11 0 0 155 0 0 256 - RL ?? 13190:49.75 [idle]
0 12 0 0 -76 0 0 768 - WL ?? 1:29.03 [intr]
0 13 0 0 -8 0 0 48 - DL ?? 0:06.01 [geom]
0 14 0 0 -16 0 0 16 - DL ?? 0:01.42 [yarrow]
0 15 0 0 -16 10 0 16 swait DNL ?? 0:00.00 [scstd6]
0 16 0 0 -16 10 0 16 swait DNL ?? 0:00.00 [scstd7]
0 17 0 0 -16 10 0 16 swait DNL ?? 0:00.00 [scstd8]
0 18 0 0 -16 10 0 16 swait DNL ?? 0:00.00 [scstd9]
0 19 0 0 -16 10 0 16 swait DNL ?? 0:00.00 [scstd10]
0 20 0 0 -16 10 0 16 swait DNL ?? 0:00.00 [scstd11]
0 21 0 0 -16 10 0 16 swait DNL ?? 0:00.00 [scstd12]
0 22 0 0 -16 10 0 16 swait DNL ?? 0:00.00 [scstd13]
0 23 0 0 -16 10 0 16 swait DNL ?? 0:00.00 [scstd14]
0 24 0 0 -16 10 0 16 swait DNL ?? 0:00.00 [scstd15]
0 25 0 0 -16 -10 0 16 swait D<L ?? 0:00.00 [scst_initd]
0 26 0 0 -16 -10 0 16 swait D<L ?? 0:00.00 [scst_tm]
0 27 0 0 -16 -10 0 16 swait D<L ?? 0:00.00 [scst_mgmtd]
0 28 0 0 -16 0 0 16 swait DL ?? 0:00.00 [vaaithr0]
0 29 0 0 -16 0 0 16 swait DL ?? 0:00.00 [vaaithr1]
0 30 0 0 -16 0 0 16 swait DL ?? 0:00.00 [vaaithr2]
0 31 0 0 -16 0 0 16 swait DL ?? 0:00.00 [vaaithr3]
0 32 0 0 -16 0 0 16 swait DL ?? 0:00.00 [vaaithr4]
0 33 0 0 -16 0 0 16 swait DL ?? 0:00.00 [vaaithr5]
0 34 0 0 -16 0 0 16 swait DL ?? 0:00.00 [vaaithr6]
0 35 0 0 -16 0 0 16 swait DL ?? 0:00.00 [vaaithr7]
0 36 0 0 -16 0 0 16 swait DL ?? 0:00.00 [iscsird0]
0 37 0 0 -16 0 0 16 swait DL ?? 0:00.00 [iscsird1]
0 38 0 0 -16 0 0 16 swait DL ?? 0:00.00 [iscsird2]
0 39 0 0 -16 0 0 16 swait DL ?? 0:00.00 [iscsird3]
0 40 0 0 -16 0 0 16 swait DL ?? 0:00.00 [iscsird4]
0 41 0 0 -16 0 0 16 swait DL ?? 0:00.00 [iscsird5]
0 42 0 0 -16 0 0 16 swait DL ?? 0:00.00 [iscsird6]
0 43 0 0 -16 0 0 16 swait DL ?? 0:00.00 [iscsird7]
0 44 0 0 -16 0 0 16 swait DL ?? 0:00.00 [iscsird8]
0 45 0 0 -16 0 0 16 swait DL ?? 0:00.00 [iscsird9]
0 46 0 0 -16 0 0 16 swait DL ?? 0:00.00 [iscsird10]
0 47 0 0 -16 0 0 16 swait DL ?? 0:00.00 [iscsird11]
0 48 0 0 -16 0 0 16 swait DL ?? 0:00.00 [iscsird12]
0 49 0 0 -16 0 0 16 swait DL ?? 0:00.00 [iscsird13]
UID PID PPID CPU PRI NI VSZ RSS MWCHAN STAT TT TIME COMMAND
0 50 0 0 -16 0 0 16 swait DL ?? 0:00.00 [iscsird14]
0 51 0 0 -16 0 0 16 swait DL ?? 0:00.00 [iscsird15]
0 52 0 0 -16 0 0 16 swait DL ?? 0:00.00 [iscsiwr0]
0 53 0 0 -16 0 0 16 swait DL ?? 0:00.00 [iscsiwr1]
0 54 0 0 -16 0 0 16 swait DL ?? 0:00.00 [iscsiwr2]
0 55 0 0 -16 0 0 16 swait DL ?? 0:00.00 [iscsiwr3]
0 56 0 0 -16 0 0 16 swait DL ?? 0:00.00 [iscsiwr4]
0 57 0 0 -16 0 0 16 swait DL ?? 0:00.00 [iscsiwr5]
0 58 0 0 -16 0 0 16 swait DL ?? 0:00.00 [iscsiwr6]
0 59 0 0 -16 0 0 16 swait DL ?? 0:00.00 [iscsiwr7]
0 60 0 0 -16 0 0 16 swait DL ?? 0:00.00 [iscsiwr8]
0 61 0 0 -16 0 0 16 swait DL ?? 0:00.00 [iscsiwr9]
0 62 0 0 -16 0 0 16 swait DL ?? 0:00.00 [iscsiwr10]
0 63 0 0 -16 0 0 16 swait DL ?? 0:00.00 [iscsiwr11]
0 64 0 0 -16 0 0 16 swait DL ?? 0:00.00 [iscsiwr12]
0 65 0 0 -16 0 0 16 swait DL ?? 0:00.00 [iscsiwr13]
0 66 0 0 -16 0 0 16 swait DL ?? 0:00.00 [iscsiwr14]
0 67 0 0 -16 0 0 16 swait DL ?? 0:00.00 [iscsiwr15]
0 68 0 0 -16 0 0 16 mps_scan DL ?? 0:00.14 [mps_scan0]
0 69 0 0 -68 0 0 208 - DL ?? 0:05.36 [usb]
0 70 0 0 -8 0 0 32 l2arc_fe DL ?? 0:00.41 [zfskern]
0 71 0 0 -16 0 0 16 swait DL ?? 0:00.00 [vaai_thr0]
0 72 0 0 -16 0 0 16 swait DL ?? 0:00.00 [vaai_thr1]
0 73 0 0 -16 0 0 16 swait DL ?? 0:00.00 [vaai_thr2]
0 74 0 0 -16 0 0 16 swait DL ?? 0:00.00 [vaai_thr3]
0 75 0 0 -16 0 0 16 swait DL ?? 0:00.00 [vaai_thr4]
0 76 0 0 -16 0 0 16 swait DL ?? 0:00.00 [vaai_thr5]
0 77 0 0 -16 0 0 16 swait DL ?? 0:00.00 [vaai_thr6]
0 78 0 0 -16 0 0 16 swait DL ?? 0:00.00 [vaai_thr7]
0 79 0 0 -16 0 0 16 pftm DL ?? 0:00.17 [pfpurge]
0 80 0 0 -16 0 0 16 waiting_ DL ?? 0:00.00 [sctp_iterator]
0 81 0 0 -16 0 0 16 ccb_scan DL ?? 0:00.00 [xpt_thrd]
0 82 0 0 -16 0 0 16 gkt:wait DL ?? 0:00.00 [g_mp_kt]
0 83 0 0 -16 0 0 16 psleep DL ?? 0:00.03 [pagedaemon]
0 84 0 0 -16 0 0 16 psleep DL ?? 0:00.00 [vmdaemon]
0 85 0 0 155 0 0 16 pgzero DL ?? 0:00.00 [pagezero]
0 86 0 0 -16 0 0 16 psleep DL ?? 0:01.37 [bufdaemon]
0 87 0 0 16 0 0 16 syncer DL ?? 0:01.23 [syncer]
0 88 0 0 -16 0 0 16 vlruwt DL ?? 0:00.18 [vnlru]
0 89 0 0 -16 0 0 16 sdflush DL ?? 0:10.32 [softdepflush]
0 107 0 0 -8 0 0 16 mdwait DL ?? 0:01.17 [md0]
0 117 0 0 -8 0 0 16 mdwait DL ?? 0:00.00 [md1]
0 127 0 0 -8 0 0 16 mdwait DL ?? 0:00.00 [md2]
0 137 0 0 -8 0 0 16 mdwait DL ?? 0:00.00 [md3]
0 147 0 0 -8 0 0 16 mdwait DL ?? 0:11.73 [md4]
0 157 0 0 -8 0 0 16 mdwait DL ?? 0:00.00 [md5]
0 1353 1 0 20 0 10372 4608 select Is ?? 0:00.00 /sbin/devd
0 1734 1 0 20 0 93128 17012 select Ss ?? 1:18.77 /usr/local/bin/python2.7 /usr/local/bin/supervisord
0 1763 1 0 1 0 13992 1780 select Ss ?? 0:10.72 /usr/sbin/syslogd -s
UID PID PPID CPU PRI NI VSZ RSS MWCHAN STAT TT TIME COMMAND
0 1839 1 0 20 0 16076 1860 select Ss ?? 0:00.07 /usr/sbin/rpcbind
0 2009 1 0 20 0 46460 4704 select Is ?? 0:00.00 /usr/sbin/sshd
0 2012 1 0 52 0 46460 4956 select Is ?? 0:00.00 /usr/sbin/sshd -f /etc/ssh_failover/sshd_config -o Pidfile=/var/run/sshd_failover.pid
0 2020 1 0 20 0 16072 1728 nanslp Is ?? 0:00.03 /usr/sbin/cron -s
0 2182 1 0 29 0 18148 1716 select Is ?? 0:00.00 /usr/sbin/inetd -wW -C 60
0 42675 2009 0 20 0 65524 5396 select Ss ?? 0:00.05 sshd: root at pts/0 (sshd)
0 2253 1 0 52 0 11928 1580 ttyin Ss+ u0 0:00.75 /usr/libexec/getty std.115200 ttyu0
0 1962 1 0 52 0 32244 4212 uwait I v0- 0:00.01 /usr/local/sbin/qevtd
0 2245 1 0 23 0 36808 2068 wait Is v0 0:00.01 login [pam] (login)
0 2258 2245 0 25 0 14376 2176 wait I v0 0:00.00 -sh (sh)
0 2265 2258 0 20 0 14224 2708 ttyin I+ v0 0:00.01 bash
0 2246 1 0 20 0 36808 2068 wait Is v1 0:00.01 login [pam] (login)
0 37259 2246 0 20 0 14376 2188 wait I v1 0:00.00 -sh (sh)
0 37275 37259 0 20 0 14224 2732 wait I v1 0:00.00 bash
0 37812 37275 0 20 0 11856 1480 rpccon D+ v1 0:00.04 umount -f /mnt/
0 2247 1 0 52 0 11928 1580 ttyin Is+ v2 0:00.00 /usr/libexec/getty Pc ttyv2
0 2248 1 0 52 0 11928 1580 ttyin Is+ v3 0:00.00 /usr/libexec/getty Pc ttyv3
0 2249 1 0 52 0 11928 1580 ttyin Is+ v4 0:00.00 /usr/libexec/getty Pc ttyv4
0 2250 1 0 52 0 11928 1580 ttyin Is+ v5 0:00.00 /usr/libexec/getty Pc ttyv5
0 2251 1 0 52 0 11928 1580 ttyin Is+ v6 0:00.00 /usr/libexec/getty Pc ttyv6
0 2252 1 0 52 0 11928 1580 ttyin Is+ v7 0:00.00 /usr/libexec/getty Pc ttyv7
0 42716 42675 0 21 0 14376 2144 wait Is 0 0:00.00 -sh (sh)
0 42746 42716 0 20 0 14224 2676 wait S 0 0:00.01 bash
0 43414 42746 0 20 0 16116 1844 - R+ 0 0:00.00 ps axhl
More information about the freebsd-fs
mailing list