Bug 9212
Summary: | 9p: Frequent bad file descriptors from u9fs | ||
---|---|---|---|
Product: | File System | Reporter: | Eric Van Hensbergen (ericvh) |
Component: | v9fs | Assignee: | Eric Van Hensbergen (ericvh) |
Status: | CLOSED PATCH_ALREADY_AVAILABLE | ||
Severity: | normal | CC: | sqweek |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.22 | Subsystem: | |
Regression: | --- | Bisected commit-id: |
Description
Eric Van Hensbergen
2007-10-22 11:03:48 UTC
Oh, jeeze. I just realised I neglected to mention my bind mounts, which probably qualify as important detail. u9fs exports the whole tree, but I really only want a couple of specific directories imported, so I'm mounting to /home/sqweek/n/wren and then binding /home/sqweek/n/wren/home/sqweek/mail to /home/sqweek/mail as well as a couple of other binds. The final mount table looks like this: 192.168.1.86 on /home/sqweek/n/wren type 9p (rw,sync,dirsync,msize=8216,noextend,name=sqweek,aname=,uid=1000,gid=1000) 192.168.1.86 on /www type 9p (rw,sync,dirsync,msize=8216,noextend,name=sqweek,aname=,uid=1000,gid=1000) 192.168.1.86 on /home/sqweek/mail type 9p (rw,sync,dirsync,msize=8216,noextend,name=sqweek,aname=,uid=1000,gid=1000) 192.168.1.86 on /home/sqweek/info type 9p (rw,sync,dirsync,msize=8216,noextend,name=sqweek,aname=,uid=1000,gid=1000) 192.168.1.86 on /home/sqweek/spool type 9p (rw,sync,dirsync,msize=8216,noextend,name=sqweek,aname=,uid=1000,gid=1000) 192.168.1.86 on /home/sqweek/log type 9p (rw,sync,dirsync,msize=8216,noextend,name=sqweek,aname=,uid=1000,gid=1000) 192.168.1.86 on /home/sqweek/bin/share type 9p (rw,sync,dirsync,msize=8216,noextend,name=sqweek,aname=,uid=1000,gid=1000) Sorry for not mentioning this earlier. I'm having a difficult time reproducing this configuration. Is there anyway you can present a more simple configuration. Also - are the bind mounts on the server or the client? Its hard to derive the configuration from your mount table as it looksl ike you are just mounting the same thing to a bunch of different directories (which I assume is not the case). The binds are on the client. They are the same path on the server (wren=192.168.1.86, "9bind old new" just does a mount(old, new, NULL, MS_BIND, NULL)): wren=/home/sqweek/n/wren if srv -a wren 2>/dev/null; then 9mount -i 'unix!'`namespace`'/wren' $wren && { 9bind $wren/www /www 9bind $wren/home/sqweek/mail $HOME/mail 9bind $wren/home/sqweek/info $HOME/info 9bind $wren/home/sqweek/spool $HOME/spool 9bind $wren/home/sqweek/log $HOME/log 9bind $wren/home/sqweek/bin/share $HOME/bin/share 9bind $wren/home/sqweek/code $HOME/code } fi Note that I haven't seen this problem since upgrading to 2.6.23. -sqweek Closing sinc eit seems to be fixed post 2.6.23. |