Re: [PULL] bcache fixes for v4.5-rc6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/02/2016 07:09 PM, Eric Wheeler wrote:
On Tue, 1 Mar 2016, Jens Axboe wrote:

On 02/29/2016 06:08 PM, Eric Wheeler wrote:
Hi Jens,

Can we still get these in for 4.5?  One is a race, the other is just error
handling.

Please pull:
    git pull https://bitbucket.org/ewheelerinc/linux.git
    v4.5-rc6-bcache-fixes

bcache: fix race of writeback thread starting before complete initialization
bcache: cleaned up error handling around register_cache()

They look simple enough, though I generally don't like collapsing things like
this:

if ((ret = cache_alloc(sb, ca)) != 0)

it's easy to screw up, doing

ret = cache_alloc(sb, ca);
if (ret != 0)
     ...

Done.  Rebased, fixed, and push --force'ed.

Cool, I will pull it in.

BTW, Is there a better (preferred) way vs. push --force?  Some say push
--force can break things.

If you rebased, there's really no way around that, other than spinning a new branch with the new changes. The rebase is what breaks things for people, the --force is just a side effect since you have to do that to push it to the same branch again. It's only really a concern if people are continually pulling from you and developing on top of your branch, for something like this, it's not a huge problem.

--
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM Kernel]     [Linux Filesystem Development]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux