From: Ben Myers <bpm@sgi.com>
To: Jeff Liu <jeff.liu@oracle.com>
Cc: Christoph Hellwig <hch@infradead.org>, xfs@oss.sgi.com
Subject: Re: [PATCH v3 1/2] xfstests: introduce 279 for SEEK_DATA/SEEK_HOLE sanity test
Date: Thu, 10 May 2012 15:28:10 -0500 [thread overview]
Message-ID: <20120510202810.GQ16881@sgi.com> (raw)
In-Reply-To: <4F410ABF.7070001@oracle.com>
On Sun, Feb 19, 2012 at 10:44:15PM +0800, Jeff Liu wrote:
> Introduce 279 for SEEK_DATA/SEEK_HOLE sanity tests.
>
> Changes to v3:
> --------------
> * Redirect seek sanity test run log to 279.full.
>
> Signed-off-by: Jie Liu <jeff.liu@oracle.com>
...
> diff --git a/src/seek_sanity_test.c b/src/seek_sanity_test.c
> new file mode 100644
> index 0000000..8f36dee
> --- /dev/null
> +++ b/src/seek_sanity_test.c
> @@ -0,0 +1,683 @@
...
> +static void get_file_system(int fd)
> +{
> + struct statfs buf;
> +
> + if (!fstatfs(fd, &buf))
> + fprintf(stdout, "File system magic#: 0x%x\n", buf.f_type);
Hrm...
# make
Building include
Building lib
Building ltp
Building src
[DEP]
[CC] seek_sanity_test
seek_sanity_test.c: In function 'get_file_system':
seek_sanity_test.c:46: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'long int'
Building aio-dio-regress
Building m4
I'll fix that up for you.
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2012-05-10 20:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-19 14:44 [PATCH v3 1/2] xfstests: introduce 279 for SEEK_DATA/SEEK_HOLE sanity test Jeff Liu
2012-05-10 20:00 ` Mark Tinguely
2012-05-10 20:28 ` Ben Myers [this message]
2012-05-11 2:32 ` Jeff Liu
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=20120510202810.GQ16881@sgi.com \
--to=bpm@sgi.com \
--cc=hch@infradead.org \
--cc=jeff.liu@oracle.com \
--cc=xfs@oss.sgi.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox