All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: "Sébastien Bouchex Bellomié" <sbouchex@infovista.com>,
	"fio@vger.kernel.org" <fio@vger.kernel.org>
Subject: Re: json output issue on solaris sparc
Date: Tue, 11 Mar 2014 09:03:19 -0600	[thread overview]
Message-ID: <531F25B7.2070507@kernel.dk> (raw)
In-Reply-To: <5462368f49b44fcda98c00c97314435c@DB4PR03MB572.eurprd03.prod.outlook.com>

On 03/11/2014 08:39 AM, S�bastien Bouchex Bellomi� wrote:
> Hi,
>
> OK, the issue was related to the alignment issue between the thread_options structure and its "packed" version : The lexxx_to_cpu macros are incorrectly casting the pointers and that causes an bus error.
> I have fixed the issue by avoid casting the pointers and calling directly the "swap" method.
>
> I have also included a fixed on the thread_options structure regarding the ddir_seq_add variable : Its length was incorrect.
>
> Attached, you will find a patch that's fixed both.
>
> The 32 bit version is still not working on json but since the 64 bit version is working fine, I will not probably work on it.

Nice work! I have applied the patch.

-- 
Jens Axboe



      reply	other threads:[~2014-03-11 15:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-04 10:19 json output issue on solaris sparc Sébastien Bouchex Bellomié
2014-03-06 21:47 ` Jens Axboe
2014-03-07  7:50   ` Sébastien Bouchex Bellomié
2014-03-11 14:39     ` Sébastien Bouchex Bellomié
2014-03-11 15:03       ` Jens Axboe [this message]

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=531F25B7.2070507@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=fio@vger.kernel.org \
    --cc=sbouchex@infovista.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.