From: Rishikesh K Rajak <risrajak@linux.vnet.ibm.com>
To: Anthony Ton <anthony.ton@ericsson.com>
Cc: "ltp-list@lists.sourceforge.net" <ltp-list@lists.sourceforge.net>
Subject: Re: [LTP] Fcntl16 test case 2 failure
Date: Wed, 31 Mar 2010 10:23:34 +0530 [thread overview]
Message-ID: <20100331045334.GA3878@linux.vnet.ibm.com> (raw)
In-Reply-To: <E0B6230F32558E43951AF1B0DEBF98102119DC54EF@EUSAACMS0714.eamcs.ericsson.se>
Hi Anthony,
>Hi LTP Team,
>I run test case fcntl16 and get a failure on test case 2 with messages below
I have tested with latest kernel 2.6.32 and i could not face this problem.
Can you let us know about your setup little bit more ?
>
>fcntl16 0 TINFO : Entering block 2
>fcntl16 1 TFAIL : First parent lock failed
>fcntl16 2 TFAIL : Test case 1, errno = 37
>fcntl16 0 TINFO : Test case 2: with mandatory record locking FAILED
>
>>I look into the code and think that it is trying to do a lock on the entire file
>with write lock using option F_WRLCK, 0, 0L, 0L, IGNORED. Is it correct? Can
>someone
>+elaborate a little more? What does the errno = 37 mean?
This errno means you are not having any lock available while doing operation
with fcntl, with F_SETLK .
asm-generic/errno.h:#define ENOLCK 37 /* No record locks
available */
--
Thanks & Regards
Rishi
LTP Maintainer
IBM, LTC, Bangalore
Please join IRC #ltp @ irc.freenode.net
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next prev parent reply other threads:[~2010-03-31 4:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-31 3:06 [LTP] Fcntl16 test case 2 failure Anthony Ton
2010-03-31 4:53 ` Rishikesh K Rajak [this message]
2010-04-01 2:33 ` Anthony Ton
2010-04-01 2:39 ` Anthony Ton
2010-04-01 4:49 ` Rishikesh K Rajak
2010-04-01 7:07 ` Rishikesh K Rajak
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=20100331045334.GA3878@linux.vnet.ibm.com \
--to=risrajak@linux.vnet.ibm.com \
--cc=anthony.ton@ericsson.com \
--cc=ltp-list@lists.sourceforge.net \
/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