Skip to contentSkip to conversation

"don't bugger nd->seq" seems to break umount sometimes

DISCUSSION Al Viro 3 participants 6 messages Apr 29, 2015 – May 19, 2015 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

Al Viro

author
#2 lore raw
Quoted 1 line · Ian Jackson

The symptoms are that `umount' fails with EBUSY,

[lizf: Backported to 3.4:
- remove the changes to follow_link() as it doesn't call set_root()]

looks dubious - I don't have -stable in front of me, but set_root() in follow_link() had migrated from __vfs_follow_link(), so could you try (tr '#' '\t' | ed fs/namei.c) <<'EOF'
/__vfs_follow_link/
/set_root/s/^/#/
i
##if (!nd->root.mnt)
.
wq
EOF
and see if it helps?

#3 lore raw
Quoted 7 lines · Al Viro
Quoted 1 line · Ian Jackson

The symptoms are that `umount' fails with EBUSY,

[lizf: Backported to 3.4:
- remove the changes to follow_link() as it doesn't call set_root()]

Quoted 13 lines

looks dubious - I don't have -stable in front of me, but set_root() in follow_link() had migrated from __vfs_follow_link(), so could you try (tr '#' '\t' | ed fs/namei.c) <<'EOF'
/__vfs_follow_link/
/set_root/s/^/#/
i
##if (!nd->root.mnt)
.
wq
EOF
and see if it helps?
.

My fault. I just checked 3.2.y, and it made the right change.

#4 lore raw
Quoted 22 lines · Zefan Li
Quoted 7 lines · Al Viro
Quoted 1 line · Ian Jackson

The symptoms are that `umount' fails with EBUSY,

[lizf: Backported to 3.4:
- remove the changes to follow_link() as it doesn't call set_root()]

Quoted 13 lines

looks dubious - I don't have -stable in front of me, but set_root() in follow_link() had migrated from __vfs_follow_link(), so could you try (tr '#' '\t' | ed fs/namei.c) <<'EOF'
/__vfs_follow_link/
/set_root/s/^/#/
i
##if (!nd->root.mnt)
.
wq
EOF
and see if it helps?
.

Quoted 1 line

My fault. I just checked 3.2.y, and it made the right change.

Is there going to be a 3.4.108 with a fix for this?

Thanks,
Ian.

#5 lore raw
Quoted 23 lines · Ian Campbell
Quoted 22 lines · Zefan Li
Quoted 20 lines · Al Viro
Quoted 1 line · Ian Jackson

The symptoms are that `umount' fails with EBUSY,

[lizf: Backported to 3.4:
- remove the changes to follow_link() as it doesn't call set_root()]

looks dubious - I don't have -stable in front of me, but set_root() in follow_link() had migrated from __vfs_follow_link(), so could you try (tr '#' '\t' | ed fs/namei.c) <<'EOF'
/__vfs_follow_link/
/set_root/s/^/#/
i
##if (!nd->root.mnt)
.
wq
EOF
and see if it helps?
.

Quoted 4 lines
Quoted 1 line

My fault. I just checked 3.2.y, and it made the right change.

Is there going to be a 3.4.108 with a fix for this?

definitely.

#6 lore raw
Quoted 24 lines · Zefan Li
Quoted 23 lines · Ian Campbell
Quoted 22 lines · Zefan Li
Quoted 20 lines · Al Viro
Quoted 1 line · Ian Jackson

The symptoms are that `umount' fails with EBUSY,

[lizf: Backported to 3.4:
- remove the changes to follow_link() as it doesn't call set_root()]

looks dubious - I don't have -stable in front of me, but set_root() in follow_link() had migrated from __vfs_follow_link(), so could you try (tr '#' '\t' | ed fs/namei.c) <<'EOF'
/__vfs_follow_link/
/set_root/s/^/#/
i
##if (!nd->root.mnt)
.
wq
EOF
and see if it helps?
.

Quoted 6 lines
Quoted 4 lines
Quoted 1 line

My fault. I just checked 3.2.y, and it made the right change.

Is there going to be a 3.4.108 with a fix for this?

definitely.

Great. Do you have a timeline in mind?

We have a daily automated test which has been hitting this issue for a while, I can continue to ignore the associated cron spam of course ;-)

Ian.

#7 lore raw
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

Is there going to be a 3.4.108 with a fix for this?

definitely.

Great. Do you have a timeline in mind?

Yeah, probably in early June.

Quoted 3 lines

We have a daily automated test which has been hitting this issue for a while, I can continue to ignore the associated cron spam of course ;-)

:)