<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:40:40 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-11069] ifort lseek returns wrong position on lustre 2.10.3</title>
                <link>https://jira.whamcloud.com/browse/LU-11069</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;On lustre2.10.3 ifort lseek will return the wrong position when using append &quot;&amp;gt;&amp;gt;&quot; operation.&lt;/p&gt;

&lt;p&gt;This can be reproduced on&lt;/p&gt;

&lt;p&gt;client: sles12 lustre2.103 &amp;lt;&#8211;&amp;gt; server: lustre2.7.3&lt;/p&gt;

&lt;p&gt;client: sles12 lustre2.103 &amp;lt;&#8211;&amp;gt; server: lustre2.10.3&lt;/p&gt;

&lt;p&gt;hello.f&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;      write(6,*) &lt;span class=&quot;code-quote&quot;&gt;&quot;hello world&quot;&lt;/span&gt;
      end &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Working on sles11 and lustre2.7.3&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;&amp;gt; date &amp;gt; tt
&amp;gt; date &amp;gt;&amp;gt; tt
&amp;gt; cat tt
Wed May 30 13:32:58 PDT 2018
Wed May 30 13:33:04 PDT 2018
&amp;gt; strace ./a.out &amp;gt;&amp;gt; tt  
.....
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fffffffbf80) = -1 ENOTTY (Inappropriate ioctl &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; device)
fstat(1, {st_mode=S_IFREG|0600, st_size=58, ...}) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fffffffbf80) = -1 ENOTTY (Inappropriate ioctl &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; device)
write(1, &lt;span class=&quot;code-quote&quot;&gt;&quot; hello world\n&quot;&lt;/span&gt;, 13)          = 13
lseek(1, 0, SEEK_CUR)                   = 71
ftruncate(1, 71)
                        = 0
&amp;gt; cat tt
Wed May 30 13:32:58 PDT 2018
Wed May 30 13:33:04 PDT 2018
 hello world 
 &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;ul&gt;
	&lt;li&gt;
	&lt;ul&gt;
		&lt;li&gt;Note lseek(1,0,SEEK_CUR) set at 71.&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Not working on lustre2.10.3.&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;&amp;gt; rm tt
&amp;gt; date &amp;gt; tt
&amp;gt; date &amp;gt;&amp;gt; tt
&amp;gt; cat tt
Wed May 30 13:41:39 PDT 2018
Wed May 30 13:41:44 PDT 2018

&amp;gt; strace ./a.out &amp;gt;&amp;gt; tt   
....
fstat(1, {st_mode=S_IFREG|0600, st_size=58, ...}) = 0
ioctl(1, TCGETS, 0x7fffffffbf80)        = -1 ENOTTY (Inappropriate ioctl &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; device)
write(1, &lt;span class=&quot;code-quote&quot;&gt;&quot; hello world\n&quot;&lt;/span&gt;, 13)          = 13
lseek(1, 0, SEEK_CUR)                   = 13
ftruncate(1, 13)                        = 0

pfe27:/nobackup/jchang&amp;gt; cat tt
Wed May 30 13pfe27:/nobackup/jchang&amp;gt; 
 &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;*&lt;b&gt;Note that it&apos;s lseek that is getting the **wrong&lt;/b&gt;* information about current position after the append.&#160;&lt;/p&gt;</description>
                <environment>sles12 lustre 2.10.3 </environment>
        <key id="52453">LU-11069</key>
            <summary>ifort lseek returns wrong position on lustre 2.10.3</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="jhammond">John Hammond</assignee>
                                    <reporter username="mhanafi">Mahmoud Hanafi</reporter>
                        <labels>
                    </labels>
                <created>Fri, 1 Jun 2018 22:18:42 +0000</created>
                <updated>Wed, 15 May 2019 02:28:50 +0000</updated>
                            <resolved>Tue, 19 Jun 2018 20:07:39 +0000</resolved>
                                    <version>Lustre 2.12.0</version>
                    <version>Lustre 2.10.3</version>
                                    <fixVersion>Lustre 2.12.0</fixVersion>
                    <fixVersion>Lustre 2.10.5</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>12</watches>
                                                                            <comments>
                            <comment id="229006" author="ndauchy" created="Sat, 2 Jun 2018 00:13:18 +0000"  >&lt;p&gt;Looks similar to &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3044&quot; title=&quot;LSeek SEEK_CUR gives incorrect value after write when file is open with O_APPEND&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3044&quot;&gt;&lt;del&gt;LU-3044&lt;/del&gt;&lt;/a&gt; (LSeek SEEK_CUR gives incorrect value after write when file is open with O_APPEND), which was fixed... but perhaps there was a regression in a similar location in the code.&lt;/p&gt;</comment>
                            <comment id="229010" author="jhammond" created="Sat, 2 Jun 2018 17:21:32 +0000"  >&lt;p&gt;This is not limited to ifort and this is on master as well.&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;n:~# cat test.c
#include &amp;lt;unistd.h&amp;gt;

int main(int argc, char *argv[])
{
	write(1, &quot;Hello world!\n&quot;, 13);
	lseek(1, 0, SEEK_CUR);
	ftruncate(1, 13);

	return 0;
}
n:~# gcc -Wall test.c -o test
n:~# cd /mnt/lustre
n:lustre# rm -f f0
n:lustre# date &amp;gt;&amp;gt; f0
n:lustre# date &amp;gt;&amp;gt; f0
n:lustre# cat f0
Sat Jun  2 12:20:11 CDT 2018
Sat Jun  2 12:20:12 CDT 2018
n:lustre# strace ~/test &amp;gt;&amp;gt; f0
execve(&quot;/root/test&quot;, [&quot;/root/test&quot;], [/* 36 vars */]) = 0
brk(NULL)                               = 0x1c4f000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd6506da000
access(&quot;/etc/ld.so.preload&quot;, R_OK)      = -1 ENOENT (No such file or directory)
open(&quot;/etc/ld.so.cache&quot;, O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=46571, ...}) = 0
mmap(NULL, 46571, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fd6506ce000
close(3)                                = 0
open(&quot;/lib64/libc.so.6&quot;, O_RDONLY|O_CLOEXEC) = 3
read(3, &quot;\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0&amp;gt;\0\1\0\0\0\20\35\2\0\0\0\0\0&quot;..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=2127336, ...}) = 0
mmap(NULL, 3940800, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd6500f7000
mprotect(0x7fd6502af000, 2097152, PROT_NONE) = 0
mmap(0x7fd6504af000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b8000) = 0x7fd6504af000
mmap(0x7fd6504b5000, 16832, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fd6504b5000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd6506cd000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd6506cb000
arch_prctl(ARCH_SET_FS, 0x7fd6506cb740) = 0
mprotect(0x7fd6504af000, 16384, PROT_READ) = 0
mprotect(0x600000, 4096, PROT_READ)     = 0
mprotect(0x7fd6506db000, 4096, PROT_READ) = 0
munmap(0x7fd6506ce000, 46571)           = 0
write(1, &quot;Hello world!\n&quot;, 13)          = 13
lseek(1, 0, SEEK_CUR)                   = 13
ftruncate(1, 13)                        = 0
exit_group(0)                           = ?
+++ exited with 0 +++
n:lustre# cat f0
Sat Jun  2 12n:lustre# 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="229020" author="adilger" created="Sun, 3 Jun 2018 20:42:48 +0000"  >&lt;p&gt;Note that the same behaviour with John&apos;s test program is seen on both HFS+ and ext4, so it isn&apos;t clear if this is really a Lustre bug.&lt;/p&gt;</comment>
                            <comment id="229021" author="adilger" created="Sun, 3 Jun 2018 20:43:53 +0000"  >&lt;p&gt;Mahmoud, can you please attach your original test program, since I don&apos;t think John&apos;s is exercising this problem correctly.&lt;/p&gt;</comment>
                            <comment id="229034" author="jhammond" created="Mon, 4 Jun 2018 13:30:32 +0000"  >&lt;p&gt;&amp;gt; Note that the same behaviour with John&apos;s test program is seen on both HFS+ and ext4, so it isn&apos;t clear if this is really a Lustre bug.&lt;/p&gt;

&lt;p&gt;When I run my test program on ext4 (3.10.0-693.11.6.el7.lustre.x86_64) I see the correct behavior:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;n:~# cd /tmp
n:tmp# rm -f f0
n:tmp# date &amp;gt;&amp;gt; f0
n:tmp# date &amp;gt;&amp;gt; f0
n:tmp# cat f0
Mon Jun  4 08:28:09 CDT 2018
Mon Jun  4 08:28:10 CDT 2018
n:tmp# strace ~/test &amp;gt;&amp;gt; f0
execve(&quot;/root/test&quot;, [&quot;/root/test&quot;], [/* 36 vars */]) = 0
brk(NULL)                               = 0x1ccc000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff77014e000
access(&quot;/etc/ld.so.preload&quot;, R_OK)      = -1 ENOENT (No such file or directory)
open(&quot;/etc/ld.so.cache&quot;, O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=46571, ...}) = 0
mmap(NULL, 46571, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7ff770142000
close(3)                                = 0
open(&quot;/lib64/libc.so.6&quot;, O_RDONLY|O_CLOEXEC) = 3
read(3, &quot;\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0&amp;gt;\0\1\0\0\0\20\35\2\0\0\0\0\0&quot;..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=2127336, ...}) = 0
mmap(NULL, 3940800, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff76fb6b000
mprotect(0x7ff76fd23000, 2097152, PROT_NONE) = 0
mmap(0x7ff76ff23000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b8000) = 0x7ff76ff23000
mmap(0x7ff76ff29000, 16832, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff76ff29000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff770141000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff77013f000
arch_prctl(ARCH_SET_FS, 0x7ff77013f740) = 0
mprotect(0x7ff76ff23000, 16384, PROT_READ) = 0
mprotect(0x600000, 4096, PROT_READ)     = 0
mprotect(0x7ff77014f000, 4096, PROT_READ) = 0
munmap(0x7ff770142000, 46571)           = 0
write(1, &quot;Hello world!\n&quot;, 13)          = 13
lseek(1, 0, SEEK_CUR)                   = 71
ftruncate(1, 13)                        = 0
exit_group(0)                           = ?
+++ exited with 0 +++
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Note that &lt;tt&gt;lseek(1, 0, SEEK_CUR)&lt;/tt&gt; returns 71 (which is correct) rather than 13 as on Lustre.&lt;/p&gt;</comment>
                            <comment id="229035" author="ndauchy" created="Mon, 4 Jun 2018 13:36:57 +0000"  >&lt;p&gt;Andreas, the fortran reproducer is the two line &quot;hello.f&quot; in the original description.&lt;/p&gt;</comment>
                            <comment id="229043" author="jhammond" created="Mon, 4 Jun 2018 16:18:44 +0000"  >&lt;p&gt;Bisection shows that this was introduced by &lt;a href=&quot;https://review.whamcloud.com/26468&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/26468&lt;/a&gt; &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8964&quot; title=&quot;use parallel I/O to improve performance on machines with slow single thread performance&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8964&quot;&gt;&lt;del&gt;LU-8964&lt;/del&gt;&lt;/a&gt; clio: Parallelize generic I/O.&lt;/p&gt;</comment>
                            <comment id="229057" author="adilger" created="Mon, 4 Jun 2018 23:52:34 +0000"  >&lt;p&gt;My confusion is that I was looking at the file output at the end, which was always truncated, due to the test program calling &lt;tt&gt;ftruncate(1, 13)&lt;/tt&gt; each time.  Was that supposed to be &lt;tt&gt;ftruncate(1, &amp;lt;lseek_return&amp;gt;)&lt;/tt&gt; or similar?  In any case, just checking the return of &lt;tt&gt;lseek()&lt;/tt&gt; shows that this is indeed a Lustre-specific issue.  It would be good to make the test tool check the file size before and after the append and make that clear.  &lt;/p&gt;

&lt;p&gt;It seems possible to reproduce this problem with &lt;tt&gt;multiop&lt;/tt&gt; instead of making a dedicated test binary for the regression test.&lt;/p&gt;</comment>
                            <comment id="229149" author="mhanafi" created="Tue, 5 Jun 2018 18:41:19 +0000"  >&lt;p&gt;Can we expect a patch soon? Or should we pull the offending patch, in our build, until a fix is available.&lt;/p&gt;</comment>
                            <comment id="229157" author="jhammond" created="Tue, 5 Jun 2018 19:34:32 +0000"  >&lt;p&gt;Hi Mahmoud,&lt;/p&gt;

&lt;p&gt;I have a patch which passes my version of your test case. (I expect that it will pass yours as well.) I am validating it now.&lt;/p&gt;</comment>
                            <comment id="229215" author="gerrit" created="Wed, 6 Jun 2018 14:20:44 +0000"  >&lt;p&gt;John L. Hammond (john.hammond@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/32641&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/32641&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11069&quot; title=&quot;ifort lseek returns wrong position on lustre 2.10.3&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11069&quot;&gt;&lt;del&gt;LU-11069&lt;/del&gt;&lt;/a&gt; llite: correct file position after appending writes&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: adb493be610960871720353fdc51b231dd38f976&lt;/p&gt;</comment>
                            <comment id="229242" author="jaylan" created="Wed, 6 Jun 2018 19:31:35 +0000"  >&lt;p&gt;I have a conflict applying this patch to 2.10.3 at lustre/tests/multiop.c:&lt;/p&gt;



&lt;p&gt;int main(int argc, char **argv)&lt;br/&gt;
{&lt;br/&gt;
 char *fname, *commands;&lt;br/&gt;
 const char *newfile;&lt;br/&gt;
 const char *oldpath;&lt;br/&gt;
 struct stat st;&lt;br/&gt;
 struct statfs stfs;&lt;br/&gt;
 size_t mmap_len = 0, i;&lt;br/&gt;
 unsigned char *mmap_ptr = NULL, junk = 0;&lt;br/&gt;
 int len, fd = -1;&lt;br/&gt;
 int flags;&lt;br/&gt;
 int save_errno;&lt;br/&gt;
 int verbose = 0;&lt;br/&gt;
 int gid = 0;&lt;br/&gt;
 lustre_fid fid;&lt;br/&gt;
 struct timespec ts;&lt;br/&gt;
 struct lov_user_md_v3 lum;&lt;br/&gt;
&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; HEAD&lt;br/&gt;
 __u64 dv;&lt;br/&gt;
=======&lt;br/&gt;
 long long rc = 0;&lt;br/&gt;
 long long last_rc;&lt;br/&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; cdad75e521... &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11069&quot; title=&quot;ifort lseek returns wrong position on lustre 2.10.3&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11069&quot;&gt;&lt;del&gt;LU-11069&lt;/del&gt;&lt;/a&gt; llite: correct file position after appending writes&lt;/p&gt;

&lt;p&gt;&#160;If you agree, I will keep fields dv, rc and last_rc. The &apos;dv&apos; field might have been removed in master branch in commits that 2.10.3 (b2_10) does not have.&lt;/p&gt;</comment>
                            <comment id="229253" author="adilger" created="Wed, 6 Jun 2018 20:47:52 +0000"  >&lt;p&gt;Yes, this is no problem.  &lt;tt&gt;dv&lt;/tt&gt; was moved to a different part of the file in another patch, but it is harmless to leave this as-is.&lt;/p&gt;</comment>
                            <comment id="229257" author="jhammond" created="Wed, 6 Jun 2018 21:52:45 +0000"  >&lt;p&gt;Hi Jay,&lt;/p&gt;

&lt;p&gt;I encourage you to test the patch but please be aware that it has not completed full testing and review. In fact Jinshan pointed out an issue with the first patch set and I have submitted a second patch set. So we would not advise you to put this change into production just yet.&lt;/p&gt;</comment>
                            <comment id="229270" author="jaylan" created="Thu, 7 Jun 2018 01:15:41 +0000"  >&lt;p&gt;More problems in the patch when cherry-picked to b2_10 without being flagged as conflicts. It then caused compilation errors.&lt;/p&gt;

&lt;p&gt;Could you please back port to b2_10? Thanks!&lt;/p&gt;</comment>
                            <comment id="229321" author="gerrit" created="Thu, 7 Jun 2018 20:39:43 +0000"  >&lt;p&gt;John L. Hammond (john.hammond@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/32661&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/32661&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11069&quot; title=&quot;ifort lseek returns wrong position on lustre 2.10.3&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11069&quot;&gt;&lt;del&gt;LU-11069&lt;/del&gt;&lt;/a&gt; llite: correct file position after appending writes&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_10&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 1f2e3e935946f02950b67e9359a5d4d28216fbfd&lt;/p&gt;</comment>
                            <comment id="229324" author="jaylan" created="Thu, 7 Jun 2018 21:30:44 +0000"  >&lt;p&gt;multiop.c: In function &apos;main&apos;: &lt;br/&gt;
multiop.c:677:4: error: implicit declaration of function &apos;llapi_get_ost_layout_v&lt;br/&gt;
ersion&apos; &lt;span class=&quot;error&quot;&gt;&amp;#91;-Werror=implicit-function-declaration&amp;#93;&lt;/span&gt; &lt;br/&gt;
 &#160;&#160;&#160;rc = llapi_get_ost_layout_version(fd, &amp;amp;layout_version); &lt;br/&gt;
 &#160;&#160;&#160;^ &lt;br/&gt;
cc1: all warnings being treated as errors &lt;br/&gt;
Makefile:1205: recipe for target &apos;multiop.o&apos; failed &lt;br/&gt;
make&lt;span class=&quot;error&quot;&gt;&amp;#91;5&amp;#93;&lt;/span&gt;: *** &lt;span class=&quot;error&quot;&gt;&amp;#91;multiop.o&amp;#93;&lt;/span&gt; Error 1&lt;/p&gt;</comment>
                            <comment id="229333" author="jhammond" created="Thu, 7 Jun 2018 23:21:45 +0000"  >&lt;p&gt;Hi Jay,&lt;/p&gt;

&lt;p&gt;A port of the change to b2_10 is available at &lt;a href=&quot;https://review.whamcloud.com/#/c/32661/2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/32661/2&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="229371" author="mhanafi" created="Fri, 8 Jun 2018 23:07:11 +0000"  >&lt;p&gt;The patch fixed the lseek issue in our fortran test. When can we expect for it to land.&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
$ date &amp;gt; tt
$ date &amp;gt;&amp;gt; tt
$ strace ./a.out &amp;gt;&amp;gt; tt

....
ioctl(1, TCGETS, 0x7fffffff77a0)&#160;&#160;&#160;&#160;&#160;&#160;&#160; = -1 ENOTTY (Inappropriate ioctl &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; device)
ioctl(1, TCGETS, 0x7fffffffbd00)&#160;&#160;&#160;&#160;&#160;&#160;&#160; = -1 ENOTTY (Inappropriate ioctl &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; device)
fstat(1, {st_mode=S_IFREG|0600, st_size=58, ...}) = 0
ioctl(1, TCGETS, 0x7fffffffbd00)&#160;&#160;&#160;&#160;&#160;&#160;&#160; = -1 ENOTTY (Inappropriate ioctl &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; device)
write(1, &lt;span class=&quot;code-quote&quot;&gt;&quot; hello world\n&quot;&lt;/span&gt;, 13)&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = 13
lseek(1, 0, SEEK_CUR)&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = 71
ftruncate(1, 71)&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = 0
.....


$ cat tt
Fri Jun&#160; 8 16:00:58 PDT 2018
Fri Jun&#160; 8 16:01:01 PDT 2018
&#160;hello world &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="229374" author="pjones" created="Sat, 9 Jun 2018 04:17:43 +0000"  >&lt;p&gt;Mahmoud&lt;/p&gt;

&lt;p&gt;If all goes well it should land to master mid-next week.&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="229535" author="gerrit" created="Thu, 14 Jun 2018 03:53:45 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/32641/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/32641/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11069&quot; title=&quot;ifort lseek returns wrong position on lustre 2.10.3&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11069&quot;&gt;&lt;del&gt;LU-11069&lt;/del&gt;&lt;/a&gt; llite: correct file position after appending writes&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: f8df907e8aaeaee559f913a68a345011a7aa1f23&lt;/p&gt;</comment>
                            <comment id="229628" author="pjones" created="Tue, 19 Jun 2018 20:07:39 +0000"  >&lt;p&gt;Landed for 2.12&lt;/p&gt;</comment>
                            <comment id="231430" author="gerrit" created="Fri, 3 Aug 2018 20:43:00 +0000"  >&lt;p&gt;John L. Hammond (jhammond@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/32661/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/32661/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11069&quot; title=&quot;ifort lseek returns wrong position on lustre 2.10.3&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11069&quot;&gt;&lt;del&gt;LU-11069&lt;/del&gt;&lt;/a&gt; llite: correct file position after appending writes&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_10&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 7bc18a0083b27292dd912dba0ae1aa5010568fb4&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="18134">LU-3044</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="42585">LU-8964</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzzy0f:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10021"><![CDATA[2]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>