<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:09:52 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-7550] sanity test_27C: FAIL: Can not find 5 in obdidx 0 1 2 3 4 6</title>
                <link>https://jira.whamcloud.com/browse/LU-7550</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;sanity test 27C failed as follows:&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;== sanity test 27C: check full striping across all OSTs == 06:13:56 (1450016036)
obdidx 0 1 2 3 4 6
/usr/lib64/lustre/tests/sanity.sh: line 2017: [: obdidx: integer expression expected
/usr/lib64/lustre/tests/sanity.sh: line 2017: [: obdidx: integer expression expected
/usr/lib64/lustre/tests/sanity.sh: line 2017: [: obdidx: integer expression expected
/usr/lib64/lustre/tests/sanity.sh: line 2017: [: obdidx: integer expression expected
/usr/lib64/lustre/tests/sanity.sh: line 2017: [: obdidx: integer expression expected
/usr/lib64/lustre/tests/sanity.sh: line 2017: [: obdidx: integer expression expected
 sanity test_27C: @@@@@@ FAIL: Can not find 5 in obdidx 0 1 2 3 4 6 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Maloo report:&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/86dc5690-a1b9-11e5-b83c-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/86dc5690-a1b9-11e5-b83c-5254006e85c2&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="33601">LU-7550</key>
            <summary>sanity test_27C: FAIL: Can not find 5 in obdidx 0 1 2 3 4 6</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</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="yujian">Jian Yu</assignee>
                                    <reporter username="yujian">Jian Yu</reporter>
                        <labels>
                    </labels>
                <created>Mon, 14 Dec 2015 01:14:19 +0000</created>
                <updated>Tue, 5 Jan 2016 06:00:26 +0000</updated>
                            <resolved>Tue, 5 Jan 2016 06:00:26 +0000</resolved>
                                    <version>Lustre 2.8.0</version>
                                    <fixVersion>Lustre 2.8.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>10</watches>
                                                                            <comments>
                            <comment id="136172" author="yujian" created="Mon, 14 Dec 2015 01:20:30 +0000"  >&lt;p&gt;This is affecting patch review testing on master branch:&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/86dc5690-a1b9-11e5-b83c-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/86dc5690-a1b9-11e5-b83c-5254006e85c2&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/68f586d8-a1e1-11e5-a4da-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/68f586d8-a1e1-11e5-a4da-5254006e85c2&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/a45e6640-a1aa-11e5-8f60-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/a45e6640-a1aa-11e5-8f60-5254006e85c2&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/4a39b5d0-a154-11e5-a4da-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/4a39b5d0-a154-11e5-a4da-5254006e85c2&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/743384e6-a132-11e5-8bbb-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/743384e6-a132-11e5-8bbb-5254006e85c2&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/d5d4d5f2-a0ff-11e5-8bbb-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/d5d4d5f2-a0ff-11e5-8bbb-5254006e85c2&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/65e48472-a104-11e5-85ed-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/65e48472-a104-11e5-85ed-5254006e85c2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="136240" author="pjones" created="Mon, 14 Dec 2015 19:14:15 +0000"  >&lt;p&gt;Jian is looking into this&lt;/p&gt;</comment>
                            <comment id="136340" author="jamesanunez" created="Tue, 15 Dec 2015 16:02:33 +0000"  >&lt;p&gt;Many failures on master:&lt;br/&gt;
2015-12-14 02:42:44 - &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/1a76d214-a240-11e5-bdef-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/1a76d214-a240-11e5-bdef-5254006e85c2&lt;/a&gt;&lt;br/&gt;
2015-12-14 02:56:37 - &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/e31761fa-a229-11e5-bdef-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/e31761fa-a229-11e5-bdef-5254006e85c2&lt;/a&gt;&lt;br/&gt;
2015-12-14 03:02:29 - &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/64424a2a-a242-11e5-afd0-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/64424a2a-a242-11e5-afd0-5254006e85c2&lt;/a&gt;&lt;br/&gt;
2015-12-14 03:26:29 - &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/29eb7544-a252-11e5-952f-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/29eb7544-a252-11e5-952f-5254006e85c2&lt;/a&gt;&lt;br/&gt;
2015-12-14 03:38:27 - &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/f2ec045e-a23e-11e5-952f-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/f2ec045e-a23e-11e5-952f-5254006e85c2&lt;/a&gt;&lt;br/&gt;
2015-12-14 06:57:17 - &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/bfc35114-a25b-11e5-afd0-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/bfc35114-a25b-11e5-afd0-5254006e85c2&lt;/a&gt;&lt;br/&gt;
2015-12-14 17:01:49 - &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/30c0eb58-a2a0-11e5-afd0-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/30c0eb58-a2a0-11e5-afd0-5254006e85c2&lt;/a&gt;&lt;br/&gt;
2015-12-14 17:07:13 - &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/d35e351a-a2ae-11e5-bdef-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/d35e351a-a2ae-11e5-bdef-5254006e85c2&lt;/a&gt;&lt;br/&gt;
2015-12-14 19:49:45 - &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/fdc65064-a2c5-11e5-adf1-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/fdc65064-a2c5-11e5-adf1-5254006e85c2&lt;/a&gt;&lt;br/&gt;
2015-12-14 20:51:12 - &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/2cf571de-a2ef-11e5-9b3d-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/2cf571de-a2ef-11e5-9b3d-5254006e85c2&lt;/a&gt;&lt;br/&gt;
2015-12-14 21:22:09 - &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/e81e9656-a2f0-11e5-b94e-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/e81e9656-a2f0-11e5-b94e-5254006e85c2&lt;/a&gt;&lt;br/&gt;
2015-12-14 21:26:06 - &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/d3053d92-a2dc-11e5-952f-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/d3053d92-a2dc-11e5-952f-5254006e85c2&lt;/a&gt;&lt;br/&gt;
2015-12-14 21:34:36 - &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/0d10b2f4-a2f2-11e5-9b3d-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/0d10b2f4-a2f2-11e5-9b3d-5254006e85c2&lt;/a&gt;&lt;br/&gt;
2015-12-14 21:34:44 - &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/6afac616-a2c5-11e5-adf1-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/6afac616-a2c5-11e5-adf1-5254006e85c2&lt;/a&gt;&lt;br/&gt;
2015-12-14 23:42:22 - &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/4b2781ac-a2da-11e5-bdef-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/4b2781ac-a2da-11e5-bdef-5254006e85c2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="136372" author="yujian" created="Tue, 15 Dec 2015 17:30:57 +0000"  >&lt;p&gt;Lustre Build: &lt;a href=&quot;https://build.hpdd.intel.com/job/lustre-master/3274/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://build.hpdd.intel.com/job/lustre-master/3274/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;sanity test 27C failed:&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/e8fd04bc-a350-11e5-867e-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/e8fd04bc-a350-11e5-867e-5254006e85c2&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After reverting commit 0585b0fb5895a24f07ca32e830d1fa72b75f4f2b for &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6910&quot; title=&quot;Configurable values for OST reserved size&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6910&quot;&gt;&lt;del&gt;LU-6910&lt;/del&gt;&lt;/a&gt;, sanity tests passed regularly:&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sessions/5a533ec4-a30b-11e5-a3ed-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sessions/5a533ec4-a30b-11e5-a3ed-5254006e85c2&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So, the failure is a regression introduced by patch &lt;a href=&quot;http://review.whamcloud.com/15731&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/15731&lt;/a&gt; for &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6910&quot; title=&quot;Configurable values for OST reserved size&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6910&quot;&gt;&lt;del&gt;LU-6910&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="136377" author="di.wang" created="Tue, 15 Dec 2015 17:37:39 +0000"  >&lt;p&gt;I checked the failure a little bit. and it seems because of OST0005 is not started yet, because check_seq_oid() in test_27z will restart OSTs.&lt;/p&gt;

&lt;p&gt;log in test_27C&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;98ad88ca34f2+331:11157:x1520450549370228:12345-10.2.4.165@tcp:103 Request procesed in 63us (226us total) trans 0 rc 0/0
00000100:00100000:0.0:1450016037.008128:0:28196:0:(nrs_fifo.c:241:nrs_fifo_req_stop()) NRS stop fifo request from 12345-10.2.4.165@tcp, seq: 143
00020000:00020000:1.0:1450016037.008151:0:21232:0:(lod_qos.c:205:lod_statfs_and_check()) lustre-MDT0000-mdtlov: statfs: rc = -19
00000004:00080000:1.0:1450016037.013441:0:21232:0:(osp_internal.h:551:osp_update_last_fid()) Gap in objids: start=[0x100000000:0xf6:0x0], count =76
00000004:00080000:1.0:1450016037.013446:0:21232:0:(osp_object.c:1486:osp_object_create()) Writing gap [0x100000000:0xf6:0x0]+76 in llog
00000004:00080000:1.0:1450016037.013451:0:21232:0:(osp_object.c:1503:osp_object_create()) lustre-OST0000-osc-MDT0000: Wrote last used FID: [0x100000000:0x142:0x0], index 0: 0
00000004:00080000:1.0:1450016037.013453:0:21232:0:(osp_internal.h:551:osp_update_last_fid()) Gap in objids: start=[0x100010000:0x124:0x0], count =30
00000004:00080000:1.0:1450016037.013455:0:21232:0:(osp_object.c:1486:osp_object_create()) Writing gap [0x100010000:0x124:0x0]+30 in llog
00000004:00080000:1.0:1450016037.013456:0:21232:0:(osp_object.c:1503:osp_object_create()) lustre-OST0001-osc-MDT0000: Wrote last used FID: [0x100010000:0x142:0x0], index 1: 0
00000004:00080000:1.0:1450016037.013459:0:21232:0:(osp_object.c:1503:osp_object_create()) lustre-OST0002-osc-MDT0000: Wrote last used FID: [0x100020000:0x143:0x0], index 2: 0
00000004:00080000:1.0:1450016037.013460:0:21232:0:(osp_internal.h:551:osp_update_last_fid()) Gap in objids: start=[0x100030000:0x124:0x0], count =30
00000004:00080000:1.0:1450016037.013460:0:21232:0:(osp_object.c:1486:osp_object_create()) Writing gap [0x100030000:0x124:0x0]+30 in llog
00000004:00080000:1.0:1450016037.013461:0:21232:0:(osp_object.c:1503:osp_object_create()) lustre-OST0003-osc-MDT0000: Wrote last used FID: [0x100030000:0x142:0x0], index 3: 0
00000004:00080000:1.0:1450016037.013462:0:21232:0:(osp_internal.h:551:osp_update_last_fid()) Gap in objids: start=[0x100040000:0x124:0x0], count =30
00000004:00080000:1.0:1450016037.013463:0:21232:0:(osp_object.c:1486:osp_object_create()) Writing gap [0x100040000:0x124:0x0]+30 in llog
00000004:00080000:1.0:1450016037.013464:0:21232:0:(osp_object.c:1503:osp_object_create()) lustre-OST0004-osc-MDT0000: Wrote last used FID: [0x100040000:0x142:0x0], index 4: 0
00000004:00080000:1.0:1450016037.013465:0:21232:0:(osp_internal.h:551:osp_update_last_fid()) Gap in objids: start=[0x100060000:0x124:0x0], count =30
00000004:00080000:1.0:1450016037.013466:0:21232:0:(osp_object.c:1486:osp_object_create()) Writing gap [0x100060000:0x124:0x0]+30 in llog
00000004:00080000:1.0:1450016037.013467:0:21232:0:(osp_object.c:1503:osp_object_create()) lustre-OST0006-osc-MDT0000: Wrote last used FID: [0x100060000:0x142:0x0], index 6: 0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;return -19 (NODEV) when stat OST0005.&lt;/p&gt;

&lt;p&gt;And OST0005 is just restarted in test_27z&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;00000020:01200004:0.0:1450016031.465300:0:17414:0:(obd_mount.c:1276:lustre_fill_super()) VFS Op: sb ffff880064b67000
00000020:01000004:0.0:1450016031.465318:0:17414:0:(obd_mount.c:843:lmd_print())   mount data:
00000020:01000004:0.0:1450016031.465319:0:17414:0:(obd_mount.c:846:lmd_print()) device:  /dev/mapper/lvm--Role_OSS-P6
00000020:01000004:0.0:1450016031.465320:0:17414:0:(obd_mount.c:847:lmd_print()) flags:   0
00000020:01000004:0.0:1450016031.465321:0:17414:0:(obd_mount.c:850:lmd_print()) options: errors=remount-ro
00000020:01000004:0.0:1450016031.465323:0:17414:0:(obd_mount.c:1323:lustre_fill_super()) Mounting server from /dev/mapper/lvm--Role_OSS-P6
00000020:01000004:0.0:1450016031.465326:0:17414:0:(obd_mount_server.c:1686:osd_start()) Attempting to start lustre-OST0005, type=osd-ldiskfs, lsifl=200002, mountfl=0
00000020:01000004:0.0:1450016031.465367:0:17414:0:(obd_mount.c:194:lustre_start_simple()) Starting obd lustre-OST0005-osd (typ=osd-ldiskfs)
00000020:00000080:0.0:1450016031.465370:0:17414:0:(obd_config.c:1145:class_process_config()) processing cmd: cf001
00000020:00000080:0.0:1450016031.465373:0:17414:0:(obd_config.c:359:class_attach()) attach type osd-ldiskfs name: lustre-OST0005-osd uuid: lustre-OST0005-osd_UUID
00000020:00000080:0.0:1450016031.465429:0:17414:0:(genops.c:371:class_newdev()) Adding new device lustre-OST0005-osd (ffff88005f728078)
00000020:00000080:0.0:1450016031.465432:0:17414:0:(obd_config.c:429:class_attach()) OBD: dev 17 attached type osd-ldiskfs with refcount 1
00000020:00000080:0.0:1450016031.465435:0:17414:0:(obd_config.c:1145:class_process_config()) processing cmd: cf003
00000020:00000080:0.0:1450016031.502031:0:17414:0:(obd_config.c:549:class_setup()) finished setup of obd lustre-OST0005-osd (uuid lustre-OST0005-osd_UUID)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;And it probably related with this change &lt;a href=&quot;http://review.whamcloud.com/15731&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/15731&lt;/a&gt;&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;diff --git a/lustre/osp/osp_dev.c b/lustre/osp/osp_dev.c
index e4af6b6..2a9d30f 100644
--- a/lustre/osp/osp_dev.c
+++ b/lustre/osp/osp_dev.c
@@ -752,7 +752,17 @@ static int osp_statfs(const struct lu_env *env, struct dt_device *dev,
               LPU64&quot; files, &quot;LPU64&quot; free files\n&quot;, d-&amp;gt;opd_obd-&amp;gt;obd_name,
               sfs-&amp;gt;os_blocks, sfs-&amp;gt;os_bfree, sfs-&amp;gt;os_bavail,
               sfs-&amp;gt;os_files, sfs-&amp;gt;os_ffree);
-       RETURN(0);
+
+       /* ENOSPC could be for two reasons,
+        * 1) not enough inodes 2) not enough blocks
+        * for 1) lod should use preallocated objects
+        * and for 2) shouldn`t. So, here for ENOSPC
+        * different values is returned to spend preallocated.
+        */
+       if (d-&amp;gt;opd_pre_status == -ENOSPC &amp;amp;&amp;amp; sfs-&amp;gt;os_ffree &amp;lt; 32)
+               RETURN(0);
+
+       RETURN(d-&amp;gt;opd_pre_status);
 }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The easiest fix might be just wait OSTs up after restart OST in test_27z.&lt;/p&gt;</comment>
                            <comment id="136388" author="pjones" created="Tue, 15 Dec 2015 18:23:46 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6910&quot; title=&quot;Configurable values for OST reserved size&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6910&quot;&gt;&lt;del&gt;LU-6910&lt;/del&gt;&lt;/a&gt; has been reverted&lt;/p&gt;</comment>
                            <comment id="136431" author="yujian" created="Tue, 15 Dec 2015 20:51:16 +0000"  >&lt;blockquote&gt;&lt;p&gt;The easiest fix might be just wait OSTs up after restart OST in test_27z.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Yes, Di. After making the following change, sanity test 27C passed regularly against master build &lt;a href=&quot;https://build.hpdd.intel.com/job/lustre-master/3274/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://build.hpdd.intel.com/job/lustre-master/3274/&lt;/a&gt; (which failed before):&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;diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh
index 7a25e4b..19e8521 100755
--- a/lustre/tests/sanity.sh
+++ b/lustre/tests/sanity.sh
@@ -1885,6 +1885,7 @@ check_seq_oid()
                                $(facet_mntpt ost$ost)/$obj_file)
                        unmount_fstype ost$ost
                        start ost$ost $dev $OST_MOUNT_OPTS
+                       clients_up
                fi
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;a href=&quot;https://testing.hpdd.intel.com/test_sessions/918784fc-a36c-11e5-a3ed-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sessions/918784fc-a36c-11e5-a3ed-5254006e85c2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="136871" author="jamesanunez" created="Fri, 18 Dec 2015 16:58:04 +0000"  >&lt;p&gt;More failures on master:&lt;br/&gt;
2015-12-17 18:15:27 - &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/2ffb7bf0-a504-11e5-b68c-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/2ffb7bf0-a504-11e5-b68c-5254006e85c2&lt;/a&gt;&lt;br/&gt;
2015-12-17 21:23:15 - &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/21bd6288-a54a-11e5-9f01-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/21bd6288-a54a-11e5-9f01-5254006e85c2&lt;/a&gt;&lt;br/&gt;
2015-12-17 21:47:01 - &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/e9ac1898-a53b-11e5-b50c-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/e9ac1898-a53b-11e5-b50c-5254006e85c2&lt;/a&gt;&lt;br/&gt;
2015-12-19 06:39:50 - &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/394798f4-a641-11e5-924d-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/394798f4-a641-11e5-924d-5254006e85c2&lt;/a&gt;&lt;br/&gt;
2015-12-20 07:49:15 - &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/9a4e3e2e-a730-11e5-b560-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/9a4e3e2e-a730-11e5-b560-5254006e85c2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="137013" author="aboyko" created="Mon, 21 Dec 2015 09:12:11 +0000"  >&lt;p&gt;&amp;gt;So, the failure is a regression introduced by patch &lt;a href=&quot;http://review.whamcloud.com/15731&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/15731&lt;/a&gt; for &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6910&quot; title=&quot;Configurable values for OST reserved size&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6910&quot;&gt;&lt;del&gt;LU-6910&lt;/del&gt;&lt;/a&gt;.&lt;br/&gt;
Looks like it was wrong, a last fails was not based at &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6910&quot; title=&quot;Configurable values for OST reserved size&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6910&quot;&gt;&lt;del&gt;LU-6910&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="137040" author="jamesanunez" created="Mon, 21 Dec 2015 15:38:42 +0000"  >&lt;p&gt;Reopening because we are seeing some patches fail due to this error with &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6910&quot; title=&quot;Configurable values for OST reserved size&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6910&quot;&gt;&lt;del&gt;LU-6910&lt;/del&gt;&lt;/a&gt; reverted. Reducing priority since the frequency of this failure is one to two times per day. &lt;/p&gt;</comment>
                            <comment id="137070" author="gerrit" created="Mon, 21 Dec 2015 18:45:44 +0000"  >&lt;p&gt;Jian Yu (jian.yu@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/17691&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/17691&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7550&quot; title=&quot;sanity test_27C: FAIL: Can not find 5 in obdidx 0 1 2 3 4 6&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7550&quot;&gt;&lt;del&gt;LU-7550&lt;/del&gt;&lt;/a&gt; tests: wait OSTs up in check_seq_oid()&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: eeb8ff65ff75ad902b1702b7b75d63a1ec09c6da&lt;/p&gt;</comment>
                            <comment id="137887" author="gerrit" created="Tue, 5 Jan 2016 00:49:41 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/17691/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/17691/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7550&quot; title=&quot;sanity test_27C: FAIL: Can not find 5 in obdidx 0 1 2 3 4 6&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7550&quot;&gt;&lt;del&gt;LU-7550&lt;/del&gt;&lt;/a&gt; tests: wait OSTs up in check_seq_oid()&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: ef46d32bc5aa713ab55179bd836d750def0022d7&lt;/p&gt;</comment>
                            <comment id="137904" author="yujian" created="Tue, 5 Jan 2016 06:00:26 +0000"  >&lt;p&gt;Patch landed to master branch for Lustre 2.8.0.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="18030">LU-3001</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="31227">LU-6910</issuekey>
        </issuelink>
                            </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|hzxvqv:</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="10022"><![CDATA[3]]></customfieldvalue>

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