Skip to content

Conversation

@h3xx
Copy link

@h3xx h3xx commented Oct 28, 2019

I switched my remote over to this github repo, only to find that some commits were missing.

This PR will add the missing commits, made by you @hansendc, from 2011-01-08 thru 2011-11-28.

Dave Hansen and others added 13 commits January 8, 2011 08:12
and make the exception handling a bit more concise
I encoded the path, but didn't decode it, so if there was a / in the link:

lrwxrwxrwx 1 dave dave    0 2011-01-08 11:52 fstest_2ae632ecf36446af4c385b196f944404 -> __fs__fstest_0282f55576d57179fef3f9336df52e1c__fs__fstest_1512bf64248c80b21afc9911cc5a4bca
I could be a lot better about these changelogs.

This adds some debugging for things that hung during dirtying operations
The basic problem is that we can't block dirty writeout by
marking an object dirty.  So, we have to make a way to
remember dirty objects in a non-blocking way.

So, we create a non-size-limited Queue for these, then tie
that queue back in to the existing one that _can_ block.
I need to be better about committing these things in smaller pieces,
I know.  I promise I'll get better if/when I start getting more
patches. :)
the read() code used to delete messages after it read them.  Whoops.

-        self.populate_buffer(1)
+        self.populate_buffer(KEEP_AFTER_READ)
There was a bug both in directory creation and another in unlink()
that caused nlink screwups.  Those are fixed.

This also continues to improve the new fsck code.
This probably never worked.  Fix from [email protected]:

The problem is replace doesn't map a set of characters, just the literal string as the first argument. You need something like translate like the above code. Maybe in your tests, you see the literal sequence "\r\n\t" you want to translate to a " ". Or maybe your replace behaves differently in python 2.7.2+. I don't know. This patch fixes me. If it works for you, then call it good.

After making this change, I now have a gmail filesystem mounted.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants