On Fri, Oct 2, 2015 at 9:48 PM, Nicholas Krause wrote:
> This removes unused goto labels in decode crush map functions related
> to error paths due to them never being used on any error path for these
> particular functions in the file, osdmap.c.
>
> Signed-off-by: Nicholas Krause
> ---
>
On Fri, Oct 2, 2015 at 9:48 PM, Nicholas Krause wrote:
> This removes unused goto labels in decode crush map functions related
> to error paths due to them never being used on any error path for these
> particular functions in the file, osdmap.c.
>
> Signed-off-by: Nicholas
On Sun, Sep 13, 2015 at 3:15 PM, Julia Lawall wrote:
> Remove unneeded NULL test.
>
> The semantic patch that makes this change is as follows:
> (http://coccinelle.lip6.fr/)
>
> //
> @@ expression x; @@
> -if (x != NULL) {
> \(kmem_cache_destroy\|mempool_destroy\|dma_pool_destroy\)(x);
> x =
On Sun, Sep 13, 2015 at 3:15 PM, Julia Lawall wrote:
> Remove unneeded NULL test.
>
> The semantic patch that makes this change is as follows:
> (http://coccinelle.lip6.fr/)
>
> //
> @@ expression x; @@
> -if (x != NULL) {
>
On Thu, Sep 10, 2015 at 10:57 AM, kbuild test robot
wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> master
> head: 22dc312d56ba077db27a9798b340e7d161f1df05
> commit: 5f1c79a71766ba656762636936edf708089bdb14 [12335/12685] libceph: check
> data_len in
On Thu, Sep 10, 2015 at 10:57 AM, kbuild test robot
wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> master
> head: 22dc312d56ba077db27a9798b340e7d161f1df05
> commit: 5f1c79a71766ba656762636936edf708089bdb14 [12335/12685] libceph:
v/scsi/logging_level
# cat /proc/sys/dev/scsi/logging_level
-18446744071562067968
Cast to unsigned long before negation - that way we first sign-extend
and then negate an unsigned, which is well defined. With this:
# cat /proc/sys/dev/scsi/logging_level
-2147483648
Signed-off-by: Ilya D
On Sat, Jul 11, 2015 at 10:35 AM, Robert Xiao wrote:
> On LP64 systems, reading a sysctl file containing an INT_MIN (-2147483648)
> could incorrectly show -18446744071562067968 due to an incorrect conversion
> in do_proc_dointvec_conv. This patch fixes the edge case by converting to
> unsigned
On Sat, Jul 11, 2015 at 10:35 AM, Robert Xiao b...@cs.cmu.edu wrote:
On LP64 systems, reading a sysctl file containing an INT_MIN (-2147483648)
could incorrectly show -18446744071562067968 due to an incorrect conversion
in do_proc_dointvec_conv. This patch fixes the edge case by converting to
/logging_level
# cat /proc/sys/dev/scsi/logging_level
-18446744071562067968
Cast to unsigned long before negation - that way we first sign-extend
and then negate an unsigned, which is well defined. With this:
# cat /proc/sys/dev/scsi/logging_level
-2147483648
Signed-off-by: Ilya Dryomov
On Fri, Jun 26, 2015 at 4:17 AM, Stephen Rothwell wrote:
> Hi Al,
>
> Today's linux-next merge of the vfs tree got a conflict in:
>
> fs/ceph/dir.c
>
> between commit:
>
> fdd4e15838e5 ("ceph: rework dcache readdir")
>
> from the ceph tree and commit:
>
> dc3f4198eac1 ("make
On Fri, Jun 26, 2015 at 4:17 AM, Stephen Rothwell s...@canb.auug.org.au wrote:
Hi Al,
Today's linux-next merge of the vfs tree got a conflict in:
fs/ceph/dir.c
between commit:
fdd4e15838e5 (ceph: rework dcache readdir)
from the ceph tree and commit:
dc3f4198eac1 (make
On Wed, Jun 17, 2015 at 6:04 AM, juncheng bai
wrote:
> Hi.
> Yeah, you are right, use the default max_segments, the request size can
> be the object size, because the bi_phys_segments of bio could be recount,
> there's just a possibility.
>
> I want to fully understand the bi_phys_segments, hope
On Wed, Jun 17, 2015 at 6:04 AM, juncheng bai
baijunch...@unitedstack.com wrote:
Hi.
Yeah, you are right, use the default max_segments, the request size can
be the object size, because the bi_phys_segments of bio could be recount,
there's just a possibility.
I want to fully understand the
On Tue, Jun 16, 2015 at 8:22 PM, nick wrote:
>
>
> On 2015-06-16 01:16 PM, Ilya Dryomov wrote:
>> On Tue, Jun 16, 2015 at 8:07 PM, nick wrote:
>>>
>>>
>>> On 2015-06-16 12:47 PM, Ilya Dryomov wrote:
>>>> On Tue, Jun 16, 2015 at 7:18 PM
On Tue, Jun 16, 2015 at 8:07 PM, nick wrote:
>
>
> On 2015-06-16 12:47 PM, Ilya Dryomov wrote:
>> On Tue, Jun 16, 2015 at 7:18 PM, nick wrote:
>>> Ilya,
>>> That's fine I do have a unrelated question through. I have over 90 patches
>>> lying around in
On Tue, Jun 16, 2015 at 7:57 PM, nick wrote:
>
>
> On 2015-06-16 12:47 PM, Ilya Dryomov wrote:
>> On Tue, Jun 16, 2015 at 7:18 PM, nick wrote:
>>> Ilya,
>>> That's fine I do have a unrelated question through. I have over 90 patches
>>> lying around in
On Tue, Jun 16, 2015 at 7:18 PM, nick wrote:
> Ilya,
> That's fine I do have a unrelated question through. I have over 90 patches
> lying around in terms of cleanups/
> fixes and need help getting them merged. Should I just resend them or wait
> until the end of this merge window.
Are all of
On Tue, Jun 9, 2015 at 11:00 AM, Ilya Dryomov wrote:
> On Tue, Jun 9, 2015 at 1:51 AM, Nicholas Krause wrote:
>> This makes the function, crush_ln static now due to having
>> only one caller in its own definition and declaration file
>> of mapper.c
>>
>&g
On Tue, Jun 16, 2015 at 5:14 PM, juncheng bai
wrote:
>
>
> On 2015/6/16 21:30, Ilya Dryomov wrote:
>>
>> On Tue, Jun 16, 2015 at 2:57 PM, juncheng bai
>> wrote:
>>>
>>>
>>>
>>> On 2015/6/16 16:37, Ilya Dryomov wrote:
>>&
On Tue, Jun 16, 2015 at 2:57 PM, juncheng bai
wrote:
>
>
> On 2015/6/16 16:37, Ilya Dryomov wrote:
>>
>> On Tue, Jun 16, 2015 at 6:28 AM, juncheng bai
>> wrote:
>>>
>>>
>>>
>>> On 2015/6/15 22:27, Ilya Dryomov wrote:
>>&
On Tue, Jun 16, 2015 at 6:28 AM, juncheng bai
wrote:
>
>
> On 2015/6/15 22:27, Ilya Dryomov wrote:
>>
>> On Mon, Jun 15, 2015 at 4:23 PM, juncheng bai
>> wrote:
>>>
>>>
>>>
>>> On 2015/6/15 21:03, Ilya Dryomov wrote:
>>&
On Tue, Jun 16, 2015 at 2:57 PM, juncheng bai
baijunch...@unitedstack.com wrote:
On 2015/6/16 16:37, Ilya Dryomov wrote:
On Tue, Jun 16, 2015 at 6:28 AM, juncheng bai
baijunch...@unitedstack.com wrote:
On 2015/6/15 22:27, Ilya Dryomov wrote:
On Mon, Jun 15, 2015 at 4:23 PM, juncheng
On Tue, Jun 16, 2015 at 5:14 PM, juncheng bai
baijunch...@unitedstack.com wrote:
On 2015/6/16 21:30, Ilya Dryomov wrote:
On Tue, Jun 16, 2015 at 2:57 PM, juncheng bai
baijunch...@unitedstack.com wrote:
On 2015/6/16 16:37, Ilya Dryomov wrote:
On Tue, Jun 16, 2015 at 6:28 AM, juncheng
On Tue, Jun 9, 2015 at 11:00 AM, Ilya Dryomov idryo...@gmail.com wrote:
On Tue, Jun 9, 2015 at 1:51 AM, Nicholas Krause xerofo...@gmail.com wrote:
This makes the function, crush_ln static now due to having
only one caller in its own definition and declaration file
of mapper.c
Signed-off
On Tue, Jun 16, 2015 at 8:07 PM, nick xerofo...@gmail.com wrote:
On 2015-06-16 12:47 PM, Ilya Dryomov wrote:
On Tue, Jun 16, 2015 at 7:18 PM, nick xerofo...@gmail.com wrote:
Ilya,
That's fine I do have a unrelated question through. I have over 90 patches
lying around in terms of cleanups
On Tue, Jun 16, 2015 at 7:18 PM, nick xerofo...@gmail.com wrote:
Ilya,
That's fine I do have a unrelated question through. I have over 90 patches
lying around in terms of cleanups/
fixes and need help getting them merged. Should I just resend them or wait
until the end of this merge window.
On Tue, Jun 16, 2015 at 8:22 PM, nick xerofo...@gmail.com wrote:
On 2015-06-16 01:16 PM, Ilya Dryomov wrote:
On Tue, Jun 16, 2015 at 8:07 PM, nick xerofo...@gmail.com wrote:
On 2015-06-16 12:47 PM, Ilya Dryomov wrote:
On Tue, Jun 16, 2015 at 7:18 PM, nick xerofo...@gmail.com wrote:
Ilya
On Tue, Jun 16, 2015 at 7:57 PM, nick xerofo...@gmail.com wrote:
On 2015-06-16 12:47 PM, Ilya Dryomov wrote:
On Tue, Jun 16, 2015 at 7:18 PM, nick xerofo...@gmail.com wrote:
Ilya,
That's fine I do have a unrelated question through. I have over 90 patches
lying around in terms of cleanups
On Tue, Jun 16, 2015 at 6:28 AM, juncheng bai
baijunch...@unitedstack.com wrote:
On 2015/6/15 22:27, Ilya Dryomov wrote:
On Mon, Jun 15, 2015 at 4:23 PM, juncheng bai
baijunch...@unitedstack.com wrote:
On 2015/6/15 21:03, Ilya Dryomov wrote:
On Mon, Jun 15, 2015 at 2:18 PM, juncheng
On Mon, Jun 15, 2015 at 4:23 PM, juncheng bai
wrote:
>
>
> On 2015/6/15 21:03, Ilya Dryomov wrote:
>>
>> On Mon, Jun 15, 2015 at 2:18 PM, juncheng bai
>> wrote:
>>>
>>> From 6213215bd19926d1063d4e01a248107dab8a899b Mon Sep 17 00:00:00 2001
>>
On Mon, Jun 15, 2015 at 2:18 PM, juncheng bai
wrote:
> From 6213215bd19926d1063d4e01a248107dab8a899b Mon Sep 17 00:00:00 2001
> From: juncheng bai
> Date: Mon, 15 Jun 2015 18:34:00 +0800
> Subject: [PATCH] storage:rbd: make the size of request is equal to the
> size of the object
>
> ensures
On Sun, Jun 14, 2015 at 12:05 PM, Fabian Frederick wrote:
>
>
>> On 08 June 2015 at 09:49 Ilya Dryomov wrote:
>>
>>
>> On Fri, Jun 5, 2015 at 10:12 PM, Fabian Frederick wrote:
>> > ceph used -1 for the last match_table_t option.
>> > Use
On Sun, Jun 14, 2015 at 12:05 PM, Fabian Frederick f...@skynet.be wrote:
On 08 June 2015 at 09:49 Ilya Dryomov idryo...@gmail.com wrote:
On Fri, Jun 5, 2015 at 10:12 PM, Fabian Frederick f...@skynet.be wrote:
ceph used -1 for the last match_table_t option.
Use Opt_err enum like other FS
On Mon, Jun 15, 2015 at 2:18 PM, juncheng bai
baijunch...@unitedstack.com wrote:
From 6213215bd19926d1063d4e01a248107dab8a899b Mon Sep 17 00:00:00 2001
From: juncheng bai baijunch...@unitedstack.com
Date: Mon, 15 Jun 2015 18:34:00 +0800
Subject: [PATCH] storage:rbd: make the size of request is
On Mon, Jun 15, 2015 at 4:23 PM, juncheng bai
baijunch...@unitedstack.com wrote:
On 2015/6/15 21:03, Ilya Dryomov wrote:
On Mon, Jun 15, 2015 at 2:18 PM, juncheng bai
baijunch...@unitedstack.com wrote:
From 6213215bd19926d1063d4e01a248107dab8a899b Mon Sep 17 00:00:00 2001
From: juncheng
On Tue, Jun 9, 2015 at 1:51 AM, Nicholas Krause wrote:
> This makes the function, crush_ln static now due to having
> only one caller in its own definition and declaration file
> of mapper.c
>
> Signed-off-by: Nicholas Krause
> ---
> net/ceph/crush/mapper.c | 2 +-
> 1 file changed, 1
On Tue, Jun 9, 2015 at 1:51 AM, Nicholas Krause xerofo...@gmail.com wrote:
This makes the function, crush_ln static now due to having
only one caller in its own definition and declaration file
of mapper.c
Signed-off-by: Nicholas Krause xerofo...@gmail.com
---
net/ceph/crush/mapper.c | 2 +-
On Fri, Jun 5, 2015 at 10:12 PM, Fabian Frederick wrote:
> ceph used -1 for the last match_table_t option.
> Use Opt_err enum like other FS
>
> match_token() is based on the pattern (NULL)
> so behavior should remain the same.
>
> Signed-off-by: Fabian Frederick
> ---
> This is untested. If this
On Fri, Jun 5, 2015 at 10:12 PM, Fabian Frederick f...@skynet.be wrote:
ceph used -1 for the last match_table_t option.
Use Opt_err enum like other FS
match_token() is based on the pattern (NULL)
so behavior should remain the same.
Signed-off-by: Fabian Frederick f...@skynet.be
---
This
On Mon, Jun 1, 2015 at 5:36 PM, Geliang Tang wrote:
> Use kvfree() instead of open-coding it.
>
> Signed-off-by: Geliang Tang
> ---
> net/ceph/pagevec.c | 5 +
> 1 file changed, 1 insertion(+), 4 deletions(-)
>
> diff --git a/net/ceph/pagevec.c b/net/ceph/pagevec.c
> index 096d914..d4f5f22
On Mon, Jun 1, 2015 at 5:36 PM, Geliang Tang geliangt...@163.com wrote:
Use kvfree() instead of open-coding it.
Signed-off-by: Geliang Tang geliangt...@163.com
---
net/ceph/pagevec.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/net/ceph/pagevec.c
On Mon, May 25, 2015 at 6:08 PM, Christoph Hellwig wrote:
> On Mon, May 25, 2015 at 06:02:30PM +0300, Ilya Dryomov wrote:
>> I'm not Alex, but yeah, we have all the clone/split machinery and so we
>> can handle a spanning case just fine. I think rbd_merge_bvec() exists
>>
On Mon, May 25, 2015 at 5:04 PM, Christoph Hellwig wrote:
> On Fri, May 22, 2015 at 11:18:40AM -0700, Ming Lin wrote:
>> From: Kent Overstreet
>>
>> As generic_make_request() is now able to handle arbitrarily sized bios,
>> it's no longer necessary for each individual block driver to define its
On Mon, May 25, 2015 at 6:08 PM, Christoph Hellwig h...@lst.de wrote:
On Mon, May 25, 2015 at 06:02:30PM +0300, Ilya Dryomov wrote:
I'm not Alex, but yeah, we have all the clone/split machinery and so we
can handle a spanning case just fine. I think rbd_merge_bvec() exists
to make sure we
On Mon, May 25, 2015 at 5:04 PM, Christoph Hellwig h...@lst.de wrote:
On Fri, May 22, 2015 at 11:18:40AM -0700, Ming Lin wrote:
From: Kent Overstreet kent.overstr...@gmail.com
As generic_make_request() is now able to handle arbitrarily sized bios,
it's no longer necessary for each individual
On Tue, Apr 21, 2015 at 7:21 PM, Sage Weil wrote:
> On Tue, 21 Apr 2015, Guenter Roeck wrote:
>> On Tue, Apr 21, 2015 at 08:10:44AM -0700, Jim Davis wrote:
>> > Building with the attached random configuration file,
>> >
>> > ERROR: "__divdi3" [net/ceph/libceph.ko] undefined!
>>
>> Commit 7321f19d
On Tue, Apr 21, 2015 at 7:21 PM, Sage Weil s...@newdream.net wrote:
On Tue, 21 Apr 2015, Guenter Roeck wrote:
On Tue, Apr 21, 2015 at 08:10:44AM -0700, Jim Davis wrote:
Building with the attached random configuration file,
ERROR: __divdi3 [net/ceph/libceph.ko] undefined!
Commit 7321f19d
On Mon, Mar 23, 2015 at 11:35 PM, Joe Perches wrote:
> To avoid possible interleaving, add missing '\n' to formats.
Applied.
Thanks,
Ilya
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More
On Mon, Mar 23, 2015 at 11:35 PM, Joe Perches j...@perches.com wrote:
To avoid possible interleaving, add missing '\n' to formats.
Applied.
Thanks,
Ilya
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to
On Sat, Jan 3, 2015 at 8:02 PM, Fabian Frederick wrote:
> Fixes the following 32-bit compilation warning:
> fs/ceph/addr.c:1419:2: warning: format '%lu' expects argument of type
> 'long unsigned int', but argument 5 has type 'size_t' [-Wformat=]
>
> Signed-off-by: Fabian Frederick
> ---
>
On Thu, Jan 1, 2015 at 7:58 PM, Rickard Strandqvist
wrote:
> Remove the function copy_token() that is not used anywhere.
>
> This was partially found by using a static code analysis program called
> cppcheck.
>
> Signed-off-by: Rickard Strandqvist
> ---
> drivers/block/rbd.c | 30
On Sat, Jan 3, 2015 at 8:02 PM, Fabian Frederick f...@skynet.be wrote:
Fixes the following 32-bit compilation warning:
fs/ceph/addr.c:1419:2: warning: format '%lu' expects argument of type
'long unsigned int', but argument 5 has type 'size_t' [-Wformat=]
Signed-off-by: Fabian Frederick
On Thu, Jan 1, 2015 at 7:58 PM, Rickard Strandqvist
rickard_strandqv...@spectrumdigital.se wrote:
Remove the function copy_token() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
On Sat, Dec 20, 2014 at 3:34 PM, Rickard Strandqvist
wrote:
> Remove the function ceph_pool_op_name() that is not used anywhere.
>
> This was partially found by using a static code analysis program called
> cppcheck.
It's part of pool op infrastructure and I'd rather we use it in
monc_show()
On Sun, Dec 21, 2014 at 1:36 AM, Rickard Strandqvist
wrote:
> Remove the function ceph_armor() that is not used anywhere.
>
> This was partially found by using a static code analysis program called
> cppcheck.
It's ceph_unarmor()'s counterpart - so same as for "[PATCH] net: ceph:
crypto.c:
On Sat, Dec 20, 2014 at 7:52 PM, Rickard Strandqvist
wrote:
> Removes some functions that are not used anywhere:
> ceph_encrypt() ceph_decrypt() ceph_crypto_key_encode()
>
> This was partially found by using a static code analysis program called
> cppcheck.
I'd like to keep this stuff even if
On Sun, Dec 21, 2014 at 1:56 PM, Geert Uytterhoeven
wrote:
> On 32-bit, where size_t is unsigned int:
>
> fs/ceph/addr.c: In function ‘ceph_fill_inline_data’:
> fs/ceph/addr.c:1419: warning: format ‘%lu’ expects type ‘long unsigned int’,
> but argument 10 has type ‘size_t’
>
> Signed-off-by:
On Sun, Dec 21, 2014 at 1:56 PM, Geert Uytterhoeven
ge...@linux-m68k.org wrote:
On 32-bit, where size_t is unsigned int:
fs/ceph/addr.c: In function ‘ceph_fill_inline_data’:
fs/ceph/addr.c:1419: warning: format ‘%lu’ expects type ‘long unsigned int’,
but argument 10 has type ‘size_t’
On Sat, Dec 20, 2014 at 7:52 PM, Rickard Strandqvist
rickard_strandqv...@spectrumdigital.se wrote:
Removes some functions that are not used anywhere:
ceph_encrypt() ceph_decrypt() ceph_crypto_key_encode()
This was partially found by using a static code analysis program called
cppcheck.
I'd
On Sun, Dec 21, 2014 at 1:36 AM, Rickard Strandqvist
rickard_strandqv...@spectrumdigital.se wrote:
Remove the function ceph_armor() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
It's ceph_unarmor()'s counterpart - so same as for
On Sat, Dec 20, 2014 at 3:34 PM, Rickard Strandqvist
rickard_strandqv...@spectrumdigital.se wrote:
Remove the function ceph_pool_op_name() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
It's part of pool op infrastructure and I'd
On Mon, Dec 1, 2014 at 1:23 PM, SF Markus Elfring
wrote:
> From: Markus Elfring
> Date: Mon, 1 Dec 2014 11:18:21 +0100
>
> The ceph_put_snap_context() function tests whether its argument is NULL
> and then returns immediately. Thus the test around the call is not needed.
>
> This issue was
On Mon, Dec 1, 2014 at 1:23 PM, SF Markus Elfring
elfr...@users.sourceforge.net wrote:
From: Markus Elfring elfr...@users.sourceforge.net
Date: Mon, 1 Dec 2014 11:18:21 +0100
The ceph_put_snap_context() function tests whether its argument is NULL
and then returns immediately. Thus the test
On Mon, Nov 3, 2014 at 4:27 PM, SF Markus Elfring
wrote:
>> dput() also checks for NULL argument, but the check is wrapped into
>> unlikely(), which is why I presume it wasn't picked up. It would be
>> great if you could improve your coccinelle script to handle
>> {un,}likely() as well.
>
>
On Sun, Nov 2, 2014 at 5:20 PM, SF Markus Elfring
wrote:
> The functions ceph_put_snap_context() and iput() test whether their argument
> is NULL and then return immediately. Thus the test around the call
> is not needed.
>
> This issue was detected by using the Coccinelle software.
>
>
On Sun, Nov 2, 2014 at 5:20 PM, SF Markus Elfring
elfr...@users.sourceforge.net wrote:
The functions ceph_put_snap_context() and iput() test whether their argument
is NULL and then return immediately. Thus the test around the call
is not needed.
This issue was detected by using the Coccinelle
On Mon, Nov 3, 2014 at 4:27 PM, SF Markus Elfring
elfr...@users.sourceforge.net wrote:
dput() also checks for NULL argument, but the check is wrapped into
unlikely(), which is why I presume it wasn't picked up. It would be
great if you could improve your coccinelle script to handle
On Sat, Oct 25, 2014 at 1:12 PM, Fabian Frederick wrote:
>
>
>> On 23 October 2014 at 18:25 Ilya Dryomov wrote:
>>
>>
>> On Thu, Oct 23, 2014 at 8:15 PM, Fabian Frederick wrote:
>> > osdmap_epoch is redundant with reassert_epoch and unused.
&g
On Sat, Oct 25, 2014 at 1:12 PM, Fabian Frederick f...@skynet.be wrote:
On 23 October 2014 at 18:25 Ilya Dryomov ilya.dryo...@inktank.com wrote:
On Thu, Oct 23, 2014 at 8:15 PM, Fabian Frederick f...@skynet.be wrote:
osdmap_epoch is redundant with reassert_epoch and unused.
Signed-off
On Thu, Oct 23, 2014 at 8:15 PM, Fabian Frederick wrote:
> osdmap_epoch is redundant with reassert_epoch and unused.
>
> Signed-off-by: Fabian Frederick
> ---
> net/ceph/osd_client.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/net/ceph/osd_client.c b/net/ceph/osd_client.c
> index
On Thu, Oct 23, 2014 at 8:15 PM, Fabian Frederick f...@skynet.be wrote:
osdmap_epoch is redundant with reassert_epoch and unused.
Signed-off-by: Fabian Frederick f...@skynet.be
---
net/ceph/osd_client.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/net/ceph/osd_client.c
On Fri, Oct 10, 2014 at 4:41 AM, Dan Mick wrote:
>
>
> On 10/09/2014 02:16 PM, Fabian Frederick wrote:
>> Fix some coccinelle warnings:
>> fs/ceph/caps.c:2400:6-10: WARNING: Assignment of bool to 0/1
>
>
>> - bool wake = 0;
>> + bool wake = false;
>
> FWIW, that message is backwards: it
On Fri, Oct 10, 2014 at 1:16 AM, Fabian Frederick wrote:
> Fix some coccinelle warnings:
> fs/ceph/caps.c:2400:6-10: WARNING: Assignment of bool to 0/1
> fs/ceph/caps.c:2401:6-15: WARNING: Assignment of bool to 0/1
> fs/ceph/caps.c:2402:6-17: WARNING: Assignment of bool to 0/1
>
On Fri, Oct 10, 2014 at 1:16 AM, Fabian Frederick f...@skynet.be wrote:
Fix some coccinelle warnings:
fs/ceph/caps.c:2400:6-10: WARNING: Assignment of bool to 0/1
fs/ceph/caps.c:2401:6-15: WARNING: Assignment of bool to 0/1
fs/ceph/caps.c:2402:6-17: WARNING: Assignment of bool to 0/1
On Fri, Oct 10, 2014 at 4:41 AM, Dan Mick dan.m...@inktank.com wrote:
On 10/09/2014 02:16 PM, Fabian Frederick wrote:
Fix some coccinelle warnings:
fs/ceph/caps.c:2400:6-10: WARNING: Assignment of bool to 0/1
- bool wake = 0;
+ bool wake = false;
FWIW, that message is backwards:
On Wed, Oct 1, 2014 at 12:07 AM, Fabian Frederick wrote:
> ceph_release_page_vector was defined twice in libceph.h
>
> Signed-off-by: Fabian Frederick
> ---
> include/linux/ceph/libceph.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/include/linux/ceph/libceph.h
On Wed, Oct 1, 2014 at 12:07 AM, Fabian Frederick f...@skynet.be wrote:
ceph_release_page_vector was defined twice in libceph.h
Signed-off-by: Fabian Frederick f...@skynet.be
---
include/linux/ceph/libceph.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/linux/ceph/libceph.h
On Wed, Sep 10, 2014 at 4:30 PM, Ilya Dryomov wrote:
> On Wed, Sep 10, 2014 at 8:17 AM, Joe Perches wrote:
>> Use the more common pr_warn.
>>
>> Other miscellanea:
>>
>> o Coalesce formats
>> o Realign arguments
>>
>> Signed-off-by:
On Wed, Sep 10, 2014 at 8:17 AM, Joe Perches wrote:
> Use the more common pr_warn.
>
> Other miscellanea:
>
> o Coalesce formats
> o Realign arguments
>
> Signed-off-by: Joe Perches
> ---
> net/ceph/ceph_common.c | 15 +--
> net/ceph/messenger.c | 19 ++-
>
On Wed, Sep 10, 2014 at 8:17 AM, Joe Perches wrote:
> Use the more common pr_warn.
>
> Other miscellanea:
>
> o Coalesce formats
> o Realign arguments
>
> Signed-off-by: Joe Perches
> ---
> net/ceph/ceph_common.c | 15 +--
> net/ceph/messenger.c | 19 ++-
>
On Wed, Sep 10, 2014 at 8:17 AM, Joe Perches j...@perches.com wrote:
Use the more common pr_warn.
Other miscellanea:
o Coalesce formats
o Realign arguments
Signed-off-by: Joe Perches j...@perches.com
---
net/ceph/ceph_common.c | 15 +--
net/ceph/messenger.c | 19
On Wed, Sep 10, 2014 at 8:17 AM, Joe Perches j...@perches.com wrote:
Use the more common pr_warn.
Other miscellanea:
o Coalesce formats
o Realign arguments
Signed-off-by: Joe Perches j...@perches.com
---
net/ceph/ceph_common.c | 15 +--
net/ceph/messenger.c | 19
On Wed, Sep 10, 2014 at 4:30 PM, Ilya Dryomov ilya.dryo...@inktank.com wrote:
On Wed, Sep 10, 2014 at 8:17 AM, Joe Perches j...@perches.com wrote:
Use the more common pr_warn.
Other miscellanea:
o Coalesce formats
o Realign arguments
Signed-off-by: Joe Perches j...@perches.com
---
net
On Tue, Aug 5, 2014 at 5:06 PM, Peter Zijlstra wrote:
> On Tue, Aug 05, 2014 at 12:33:16PM +0400, Ilya Dryomov wrote:
>> On Mon, Aug 4, 2014 at 2:30 PM, Peter Zijlstra wrote:
>> > Hi,
>> >
>> > Ilya recently tripped over a nested sleep which made Ingo sugg
On Tue, Aug 5, 2014 at 5:06 PM, Peter Zijlstra pet...@infradead.org wrote:
On Tue, Aug 05, 2014 at 12:33:16PM +0400, Ilya Dryomov wrote:
On Mon, Aug 4, 2014 at 2:30 PM, Peter Zijlstra pet...@infradead.org wrote:
Hi,
Ilya recently tripped over a nested sleep which made Ingo suggest we
On Mon, Aug 4, 2014 at 2:30 PM, Peter Zijlstra wrote:
> Hi,
>
> Ilya recently tripped over a nested sleep which made Ingo suggest we should
> have debug checks for that. So I did some, see patch 7. Of course that
> triggered a whole bunch of fail the instant I tried to boot my machine.
>
> With
On Mon, Aug 4, 2014 at 2:30 PM, Peter Zijlstra pet...@infradead.org wrote:
Hi,
Ilya recently tripped over a nested sleep which made Ingo suggest we should
have debug checks for that. So I did some, see patch 7. Of course that
triggered a whole bunch of fail the instant I tried to boot my
On Fri, Aug 1, 2014 at 5:27 PM, Peter Zijlstra wrote:
> On Fri, Aug 01, 2014 at 04:56:27PM +0400, Ilya Dryomov wrote:
>> I'm going to fix up rbd_request_fn(), but I want to make sure
>> I understand this in full.
>>
>> - Previously the danger of calling blo
On Thu, Jul 31, 2014 at 6:39 PM, Peter Zijlstra wrote:
> On Thu, Jul 31, 2014 at 04:30:52PM +0200, Mike Galbraith wrote:
>> On Thu, 2014-07-31 at 15:13 +0200, Peter Zijlstra wrote:
>>
>> > Smells like maybe current->state != TASK_RUNNING
>>
>> Bingo
>>
>> [ 1200.851004] kjournald D
On Thu, Jul 31, 2014 at 6:39 PM, Peter Zijlstra pet...@infradead.org wrote:
On Thu, Jul 31, 2014 at 04:30:52PM +0200, Mike Galbraith wrote:
On Thu, 2014-07-31 at 15:13 +0200, Peter Zijlstra wrote:
Smells like maybe current-state != TASK_RUNNING
Bingo
[ 1200.851004] kjournald D
On Fri, Aug 1, 2014 at 5:27 PM, Peter Zijlstra pet...@infradead.org wrote:
On Fri, Aug 01, 2014 at 04:56:27PM +0400, Ilya Dryomov wrote:
I'm going to fix up rbd_request_fn(), but I want to make sure
I understand this in full.
- Previously the danger of calling blocking primitives on the way
On Thu, Jul 31, 2014 at 6:30 PM, Mike Galbraith
wrote:
> On Thu, 2014-07-31 at 15:13 +0200, Peter Zijlstra wrote:
>
>> Smells like maybe current->state != TASK_RUNNING
It just triggered for me too, took longer than usual. Sorry for the
churn Peter, this was really confusing. Onto finding the
On Thu, Jul 31, 2014 at 5:13 PM, Peter Zijlstra wrote:
> On Thu, Jul 31, 2014 at 04:37:29PM +0400, Ilya Dryomov wrote:
>
>> This didn't make sense to me at first too, and I'll be happy to be
>> proven wrong, but we can reproduce this with rbd very reliably under
>>
On Thu, Jul 31, 2014 at 3:57 PM, Peter Zijlstra wrote:
> On Thu, Jul 31, 2014 at 02:16:37PM +0400, Ilya Dryomov wrote:
>> This reverts commit 34c6bc2c919a55e5ad4e698510a2f35ee13ab900.
>>
>> This commit can lead to deadlocks by way of what at a high level
>> appears to
and made everything disappear,
which is why it hasn't been looked into until now. Revert makes the
problem go away, confirmed by our users.
Cc: Peter Zijlstra
Cc: sta...@vger.kernel.org # 3.15
Signed-off-by: Ilya Dryomov
---
kernel/locking/mutex.c |7 ---
1 file changed, 7 deletions(-)
d
and made everything disappear,
which is why it hasn't been looked into until now. Revert makes the
problem go away, confirmed by our users.
Cc: Peter Zijlstra pet...@infradead.org
Cc: sta...@vger.kernel.org # 3.15
Signed-off-by: Ilya Dryomov ilya.dryo...@inktank.com
---
kernel/locking/mutex.c |7
On Thu, Jul 31, 2014 at 3:57 PM, Peter Zijlstra pet...@infradead.org wrote:
On Thu, Jul 31, 2014 at 02:16:37PM +0400, Ilya Dryomov wrote:
This reverts commit 34c6bc2c919a55e5ad4e698510a2f35ee13ab900.
This commit can lead to deadlocks by way of what at a high level
appears to look like
On Thu, Jul 31, 2014 at 5:13 PM, Peter Zijlstra pet...@infradead.org wrote:
On Thu, Jul 31, 2014 at 04:37:29PM +0400, Ilya Dryomov wrote:
This didn't make sense to me at first too, and I'll be happy to be
proven wrong, but we can reproduce this with rbd very reliably under
higher than usual
On Thu, Jul 31, 2014 at 6:30 PM, Mike Galbraith
umgwanakikb...@gmail.com wrote:
On Thu, 2014-07-31 at 15:13 +0200, Peter Zijlstra wrote:
Smells like maybe current-state != TASK_RUNNING
It just triggered for me too, took longer than usual. Sorry for the
churn Peter, this was really confusing.
401 - 500 of 532 matches
Mail list logo