[OpenAFS] Graphical file managers get stuck
Ken Dreyer
ktdreyer@ktdreyer.com
Mon, 10 Dec 2012 16:16:25 -0700
--f46d042f95be19b4d504d087c123
Content-Type: text/plain; charset=UTF-8
On Mon, Dec 10, 2012 at 4:08 PM, Derrick Brashear <shadow@gmail.com> wrote:
>
> Actually, cmdebug output (and looking at the afsdb locks) will also
> tell, and is much more reliable as an
> indicator.
Fair enough; I just don't have the expertise to read that :)
>> I just tested this with Gnome on Fedora 19 and I can confirm that
>> Nautilus also does the problematic /afs/.Trash lookups (details at
>> [1]). It's just not clear to me how frequently Nautilus triggers these
>> lookups, because in my light testing they seem to happen less often
>> than on Xfce. Regardless, more debugging with Wireshark in your
>> environment would give us more information to go on.
>
> There's an open "thing" in gerrit which we should complete and merge
> to fix this.
Cool, do you have a reference? I'm attaching my own patch. It's
untested - it's as far as I've gotten. I needed a real developer to
look at it and tell me if this is the right direction. Or I could do
some good old trial-and-error.
- Ken
--f46d042f95be19b4d504d087c123
Content-Type: application/octet-stream; name="freedesktop-trash.patch"
Content-Disposition: attachment; filename="freedesktop-trash.patch"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_hak7zapc0
ZGlmZiAtLWdpdCBhL3NyYy9hZnMvVk5PUFMvYWZzX3Zub3BfbG9va3VwLmMgYi9zcmMvYWZzL1ZO
T1BTL2Fmc192bm9wX2xvb2t1cC5jCmluZGV4IDFhMTVmNDkuLjI4NTQ2MmQgMTAwNjQ0Ci0tLSBh
L3NyYy9hZnMvVk5PUFMvYWZzX3Zub3BfbG9va3VwLmMKKysrIGIvc3JjL2Fmcy9WTk9QUy9hZnNf
dm5vcF9sb29rdXAuYwpAQCAtMTM5Miw2ICsxMzkyLDEyIEBAIGFmc19sb29rdXAoT1NJX1ZDX0RF
Q0woYWRwKSwgY2hhciAqYW5hbWUsIHN0cnVjdCB2Y2FjaGUgKiphdmNwLCBhZnNfdWNyZWRfdCAq
YWNyCiAgICAgfQogI2VuZGlmCgorICAgIC8qIHNlZSBmcmVlZGVza3RvcC5vcmcgVHJhc2ggc3Bl
YyAqLworICAgIGlmIChhZnNfZmFrZXN0YXRfZW5hYmxlKSB7CisgICAgICAgaWYgKHN0cm5jbXAo
YW5hbWUsICIuVHJhc2giLCA2KSA9PSAwKQorICAgICAgICAgICB0cnlFdmFsT25seSA9IDE7Cisg
ICAgfQorCiAgICAgaWYgKHRyeUV2YWxPbmx5KQogICAgICAgIGNvZGUgPSBhZnNfVHJ5RXZhbEZh
a2VTdGF0KCZhZHAsICZmYWtlc3RhdGUsICZ0cmVxKTsKICAgICBlbHNlCgo=
--f46d042f95be19b4d504d087c123--