From: Christoph Hellwig <hch@infradead.org>
To: bcache@lists.ewheeler.net
Cc: linux-block@vger.kernel.org, linux-bcache@vger.kernel.org,
hch@infradead.org, axboe@kernel.dk,
Liang Chen <liangchen.linux@gmail.com>,
stable@vger.kernel.org
Subject: Re: [PATCH 06/19] bcache: explicitly destory mutex while exiting
Date: Wed, 5 Jul 2017 11:27:29 -0700 [thread overview]
Message-ID: <20170705182729.GE10673@infradead.org> (raw)
In-Reply-To: <1498855388-16990-6-git-send-email-bcache@lists.ewheeler.net>
On Fri, Jun 30, 2017 at 01:42:55PM -0700, bcache@lists.ewheeler.net wrote:
> From: Liang Chen <liangchen.linux@gmail.com>
>
> mutex_destroy does nothing most of time, but it's better to call
> it to make the code future proof and it also has some meaning
> for like mutex debug.
It shouldn't really - we should get the destroy behavior for free
when doing a slab free of the area.
What issue are you trying to solve?
next prev parent reply other threads:[~2017-07-05 18:27 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-25 19:10 [PULL] bcache updates based on git.kernel.dk/linux-block:for-next Eric Wheeler
2017-06-28 23:06 ` [PULL] bcache fixes and updates for-4.13 Eric Wheeler
2017-06-29 13:45 ` Christoph Hellwig
2017-06-29 16:19 ` Coly Li
2017-06-29 22:12 ` Eric Wheeler
2017-06-29 22:25 ` Eric Wheeler
2017-06-29 23:28 ` Nick Alcock
2017-06-30 20:42 ` [PATCH 01/19] bcache: Fix leak of bdev reference bcache
2017-06-30 20:42 ` [PATCH 02/19] bcache: fix sequential large write IO bypass bcache
2017-07-05 18:25 ` Christoph Hellwig
2017-06-30 20:42 ` [PATCH 03/19] bcache: do not subtract sectors_to_gc for bypassed IO bcache
2017-07-01 17:26 ` Coly Li
2017-07-05 18:25 ` Christoph Hellwig
2017-06-30 20:42 ` [PATCH 04/19] bcache: fix wrong cache_misses statistics bcache
2017-07-01 17:58 ` Coly Li
2017-06-30 20:42 ` [PATCH 06/19] bcache: explicitly destory mutex while exiting bcache
2017-07-01 18:43 ` Coly Li
2017-07-05 11:58 ` Liang Chen
2017-07-11 7:22 ` Coly Li
2017-07-05 18:27 ` Christoph Hellwig [this message]
2017-07-06 1:56 ` Liang Chen
2017-06-30 20:42 ` [PATCH 10/19] bcache: initialize stripe_sectors_dirty correctly for thin flash device bcache
2017-07-01 18:52 ` Coly Li
2017-06-30 20:43 ` [PATCH 11/19] bcache: Subtract dirty sectors of thin flash from cache_sectors in calculating writeback rate bcache
2017-07-10 18:11 ` Coly Li
[not found] ` <OF92BDA950.86AA00FA-ON4825815A.001F33D9-4825815A.001F5C89@zte.com.cn>
2017-07-13 4:12 ` Eric Wheeler
2017-07-13 4:15 ` Coly Li
2017-10-27 19:12 ` Eric Wheeler
2017-06-30 20:43 ` [PATCH 14/19] bcache: Correct return value for sysfs attach errors bcache
2017-06-30 20:43 ` [PATCH 17/19] bcache: fix for gc and write-back race bcache
2017-08-03 16:20 ` Coly Li
2017-07-01 16:55 ` [PATCH 01/19] bcache: Fix leak of bdev reference Coly Li
2017-07-05 18:24 ` Christoph Hellwig
[not found] ` <1498855388-16990-5-git-send-email-bcache@lists.ewheeler.net>
2017-07-05 18:26 ` [PATCH 05/19] bcache: fix calling ida_simple_remove() with incorrect minor Christoph Hellwig
2017-07-14 11:40 ` [PULL] bcache updates based on git.kernel.dk/linux-block:for-next Eddie Chapman
[not found] ` <7040453d-2272-d376-710b-6ed07527a98e@coly.li>
2017-07-14 17:33 ` Eddie Chapman
[not found] ` <OF92BA0158.87BDF9E3-ON4825815E.000736BF-4825815E.000833F7@zte.com.cn>
2017-07-18 18:24 ` Eddie Chapman
2017-07-18 18:31 ` Eddie Chapman
2017-07-18 20:06 ` Greg KH
2017-07-18 20:36 ` Eddie Chapman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170705182729.GE10673@infradead.org \
--to=hch@infradead.org \
--cc=axboe@kernel.dk \
--cc=bcache@lists.ewheeler.net \
--cc=liangchen.linux@gmail.com \
--cc=linux-bcache@vger.kernel.org \
--cc=linux-block@vger.kernel.org \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox