<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:32:53 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-3319] Adapt to 3.10 upstream kernel proc_dir_entry change</title>
                <link>https://jira.whamcloud.com/browse/LU-3319</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;In kernel 3.10 merge window, there is an important change in procfs subsystem that hides all details of proc_dir_entry structure.&lt;/p&gt;

&lt;p&gt;This affects Lustre in two ways. First is that the read_proc_t and write_proc_t members are now removed so Lustre has to be converted to use seq_file approach. The second one is that Lustre can no longer do child entry lookup inside lprocfs_srch.&lt;/p&gt;

&lt;p&gt;With the private proc_dir_entry structure and related exported APIs, the only possible/safe way to do child lookup is through path walking. Each pde has a atomic counter that is initialized to 1. And remove_proc_entry will decrease the counter to 0 and the free the pde. The counter is only increased by procfs when the corresponding proc dentry is instantiated during path walk. And it is decreased when the proc inode is evicted. There is no way an external module can hold a ref count on the dentry thus a pde can go away at any time if remove_proc_entry is called on it.&lt;/p&gt;

&lt;p&gt;Therefore, callers has to make sure that they don&apos;t use any removed pde directly. OTOH, Lustre saves its created pde and passes it around in many places. Later those pointers are used without any protection. Would it be a problem? The situation is true for pre-3.10 kernel as well because Lustre never holds references on proc_dir_entry.&lt;/p&gt;

&lt;p&gt;The existence of LPROCFS_ENTRY_AND_CHECK() also seems confusing. It indicates that a pde may be already invalidated when accessed by Lustre. However, all callers of LPROCFS_ENTRY_AND_CHECK() are in fact part of pde-&amp;gt;proc_fops, which is called in side of proc_reg_file_ops where pde is protected by pde-&amp;gt;in_use counter (pde_users for older kernels). When pde-&amp;gt;in_use is positive, there is no way a pde can be removed. So IMOH LPROCFS_ENTRY_AND_CHECK() seems unnecessary.&lt;/p&gt;

&lt;p&gt;Also, it seems that _lprocfs_lock is to protect child pde insert/remove/search, whereas kernel already has proc_subdir_lock doing the same job. But lprocfs_srch is the only exception. If we can get rid of lprocfs_srch, I think we can get rid of _lprocfs_lock as well. Since 3.10 is still under development, we can make a patch to procfs exporting a search function and send it to upstream. In this way, lprocfs_srch can be removed.&lt;/p&gt;

&lt;p&gt;Also, removing LPROCFS_ENTRY_AND_CHECK/_lprocfs_lock or not, we cannot dereference a removed pde directly. Is there any existing mechanism to make sure it doesn&apos;t happen? Many proc_dir_entry are created by Lustre and passed around without protection. It seems dangerous to me but since it is working so far, maybe I am missing something?&lt;/p&gt;</description>
                <environment></environment>
        <key id="18888">LU-3319</key>
            <summary>Adapt to 3.10 upstream kernel proc_dir_entry change</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</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="laisiyao">Lai Siyao</assignee>
                                    <reporter username="bergwolf">Peng Tao</reporter>
                        <labels>
                    </labels>
                <created>Sat, 11 May 2013 02:10:43 +0000</created>
                <updated>Thu, 23 Nov 2017 18:37:36 +0000</updated>
                            <resolved>Tue, 1 Jul 2014 01:08:54 +0000</resolved>
                                    <version>Lustre 2.5.0</version>
                                    <fixVersion>Lustre 2.6.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>19</watches>
                                                                            <comments>
                            <comment id="58589" author="pjones" created="Wed, 15 May 2013 17:27:48 +0000"  >&lt;p&gt;Lai&lt;/p&gt;

&lt;p&gt;Could you please look into this one?&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="58632" author="bergwolf" created="Thu, 16 May 2013 02:02:28 +0000"  >&lt;p&gt;The first patch is intended to be sent upstream 3.10 kernel to export proc child entry searching functionality. For older kernels where struct proc_dir_entry is not private, Lustre can just implement the same function itself.&lt;/p&gt;

&lt;p&gt;The second patch is one applied to the staging tree to change the Lustre client there.&lt;/p&gt;

&lt;p&gt;PS, staging tree is the one bellow:&lt;br/&gt;
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git&lt;/p&gt;</comment>
                            <comment id="58634" author="bergwolf" created="Thu, 16 May 2013 03:30:53 +0000"  >&lt;p&gt;Moving private discussion with Andreas here:&lt;/p&gt;

&lt;p&gt;On Thu, May 16, 2013 at 1:06 AM, Andreas Dilger &amp;lt;adilger@dilger.ca&amp;gt; wrote:&lt;br/&gt;
&amp;gt;&lt;br/&gt;
&amp;gt; I have some concern about removing lprocfs_lock.  I think the problem is not&lt;br/&gt;
&amp;gt; about proc consistency, but rather about a race between Lustre device&lt;br/&gt;
&amp;gt; cleanup and proc access by applications. This won&apos;t be hit under normal&lt;br/&gt;
&amp;gt; usage, but is a concern if there is a userspace monitoring tool keeping the&lt;br/&gt;
&amp;gt; proc files open across unmount.&lt;br/&gt;
&amp;gt;&lt;br/&gt;
Not sure if I fully get your idea, but I think when user application opens the proc file, it takes a reference on the related proc dentry/inode, which in turn take a reference on pde. Therefore, when Lustre calls proc_remove() during umount, the corresponding pde will not be freed because of the reference taken by application. Also proc_remove() makes sure that all pde openers are closed. It also sets the pde-&amp;gt;in_use to BIAS (a large negative value) so that no future calling into module methods will be made. And user space applications will get -EIO when it tries to read/write to the proc fd.&lt;/p&gt;

&lt;p&gt;Above is for the latest 3.10 kernel. For older kernels, proc_remove() sets pde-&amp;gt;proc_fops to NULL and all proc file ops like read/write/llseek check pde-&amp;gt;proc_fops before calling into module methods. It is exactly same as Lustre&apos;s LPROCFS_ENTRY_AND_CHECK() does, which is another proof that the macro is unnecessary.&lt;/p&gt;

&lt;p&gt;The existence of lprocfs_lock (as noted in the comments in libcfs/include/libcfs/params_tree.h), is not necessary after 2.6.23 kernel. The only reason we need it there IMO is because of lprocfs_srch() that ignores kernel&apos;s existing proc_subdir_lock that provides the same functionality. proc_subdir_lock went in since 2.6.16 kernel so it is safe to be used for all kernels that master supports.&lt;/p&gt;

&lt;p&gt;Please see if above analysis makes sense.&lt;/p&gt;

&lt;p&gt;Thanks, Tao&lt;/p&gt;</comment>
                            <comment id="58749" author="bergwolf" created="Fri, 17 May 2013 10:26:53 +0000"  >&lt;p&gt;As I checked again, proc_subdir_lock is not exported in all kernels. So for old kernels, lprocfs_lock seems still necessary for the benefit of lprocfs_srch() to be safe. OTOH for 3.10 kernel, Lustre cannot access members of struct proc_dir_entry. So we need to push patch 0001 to upstream so that Lustre can still search child proc entry.&lt;/p&gt;

&lt;p&gt;As for userspace monitor tool keeping the proc file open across unmount, I have a small test program that verifies that procfs rejects userspace access properly after unmount. The program will be attached.&lt;/p&gt;

&lt;p&gt;Thoughts?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Tao&lt;/p&gt;</comment>
                            <comment id="58750" author="bergwolf" created="Fri, 17 May 2013 10:31:27 +0000"  >&lt;p&gt;Running the program we&apos;ll see that the second read() fails because procfs properly rejects calling into module methods after proc entry is removed.&lt;/p&gt;</comment>
                            <comment id="58861" author="laisiyao" created="Mon, 20 May 2013 08:44:11 +0000"  >&lt;p&gt;I&apos;m wondering whether we can remove lprocfs_srch() in lustre code after association of lustre proc entry with proper data structure, thereafter we can get the wanted proc entry directly without searching. I&apos;ll take deeper look into all the usages of lprofs_srch().&lt;/p&gt;</comment>
                            <comment id="58866" author="bergwolf" created="Mon, 20 May 2013 10:59:00 +0000"  >&lt;p&gt;For client only, it seems possible. There are following usage of lprocfs_srch() in client source:&lt;br/&gt;
1. In lmv and lov, it is used to find &quot;target_obds&quot; from obd-&amp;gt;obd_proc_entry. Looking at server code, there are many other child pdes. So it is not practical to add them all in obd_device structure. how about adding a &quot;void *obd_proc_private&quot; member to struct obd_device, and let each user define their own PDE collections? For example, MDC needs type specific pde, lmv/lov needs &quot;target_obds&quot; pde, and ofd needs osd_dir and its child entries.&lt;/p&gt;

&lt;p&gt;There are also&lt;br/&gt;
mdc_symlink = lprocfs_srch(lmv_proc_dir, mdc_obd-&amp;gt;obd_name);&lt;br/&gt;
and&lt;br/&gt;
osc_symlink = lprocfs_srch(lov_proc_dir, osc_obd-&amp;gt;obd_name);&lt;br/&gt;
that are followed by lprocfs_remove() by calling proc_remove_subtree() instead&lt;br/&gt;
and implement similar function for older kernel.&lt;/p&gt;

&lt;p&gt;2. proc dir entry for ldlm name space. We can save the pde in struct ldlm_namespace so that the search_before_use logic can be removed.&lt;/p&gt;

&lt;p&gt;3. The generic case of lprocfs_register/lprocfs_add_vars. lprocfs_srch() is used as a safe guard because proc_mkdir/proc_create_data don&apos;t fail for duplicated creation. we&apos;ll lose the safe guard and have to make sure whenever lprocfs_register/lprocfs_add_vars are called, they do not create existing proc dir/entry. Luckly all lprocfs_register/lprocfs_add_vars callers are initilizers, it tends to be fine to just remove the safe guard.&lt;/p&gt;

&lt;p&gt;Just from client point of view, it seems OK to remove lprocfs_srch(). However, as I looked at server code, it seems less OK because the obd_proc_private structure needed by ofd/osd exactly duplicates with the procfs hierarchy and also loses procfs&apos; flexibility (we will have to modify data structure now to add introduce new child PDEs). But in theory we can get it to work anyway.&lt;/p&gt;

&lt;p&gt;I can cook a client patch pretty soon to show how above works. Will update later.&lt;/p&gt;</comment>
                            <comment id="58867" author="bergwolf" created="Mon, 20 May 2013 13:14:13 +0000"  >&lt;p&gt;remove_lproc_srch.patch is to show the idea of removing lprocfs_srch. It applies to staging tree client code on top of the 0002 proc_dir_entry patch. roughtly tested only.&lt;/p&gt;

&lt;p&gt;IMO, the approach should work for server as well. What do you think? Thanks.&lt;/p&gt;</comment>
                            <comment id="58962" author="laisiyao" created="Tue, 21 May 2013 08:43:31 +0000"  >&lt;p&gt;Generally this looks good to me, but should you put the patches in gerritt to review to land to master?&lt;/p&gt;</comment>
                            <comment id="58964" author="bergwolf" created="Tue, 21 May 2013 10:41:59 +0000"  >&lt;p&gt;Thanks for reviewing. I will do. Just that it is holding up staging tree client from being built with upstream kernel. So I will run more tests with the patches applied on client and if that passes, send it to Greg KH first. Then I will backport the patch to master and convert server side lprocfs callers as well.&lt;/p&gt;</comment>
                            <comment id="62060" author="adilger" created="Wed, 10 Jul 2013 22:30:42 +0000"  >&lt;p&gt;Tao, can you please begin submitting the upstream patches to Lustre master.  The patch in &lt;a href=&quot;http://review.whamcloud.com/6588&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/6588&lt;/a&gt; would really benefit from the /proc seq_file change you submitted upstream.&lt;/p&gt;</comment>
                            <comment id="62176" author="bergwolf" created="Fri, 12 Jul 2013 10:12:40 +0000"  >&lt;p&gt;Andreas, sorry for the delay. I will start submitting them after refresh all libcfs patches, which should be finished soon.&lt;/p&gt;</comment>
                            <comment id="62342" author="emoly.liu" created="Tue, 16 Jul 2013 02:59:36 +0000"  >&lt;p&gt;Peng Tao, does this proc patch depend on those libcfs patches? As Andreas said, our some patches would really benefit from the /proc seq_file change. So, if you don&apos;t mind, I&apos;d like do some help to make this change.&lt;/p&gt;</comment>
                            <comment id="62343" author="bergwolf" created="Tue, 16 Jul 2013 03:13:53 +0000"  >&lt;p&gt;liuying, it doesn&apos;t depend on any libcfs patches. There might be some conflicts but I guess it is OK to resolve later since libcfs patches tend to conflict with anything else. The procfs change is now in Linus&apos; mainline as commit 73bb1da692d0dc3e93b9c9e29084d6a5dcbc37a6. It would be great if you can help porting the patch. Thanks a lot.&lt;/p&gt;</comment>
                            <comment id="62816" author="simmonsja" created="Tue, 23 Jul 2013 14:53:51 +0000"  >&lt;p&gt;liuying do you have a patch ready? I&apos;m running into this issue getting a lustre client on 3.10.2 going.&lt;br/&gt;
Just to save us time by avoiding duplicate efforts.&lt;/p&gt;</comment>
                            <comment id="62945" author="emoly.liu" created="Thu, 25 Jul 2013 00:28:19 +0000"  >&lt;p&gt;James, yes, I am working on this patch.&lt;/p&gt;</comment>
                            <comment id="62975" author="simmonsja" created="Thu, 25 Jul 2013 14:46:08 +0000"  >&lt;p&gt;The reason I ask is that I while I was doing some testing for another project and I had time between test to create this patch. I have a working patch already. How far along are you?&lt;/p&gt;</comment>
                            <comment id="62981" author="emoly.liu" created="Thu, 25 Jul 2013 15:23:27 +0000"  >&lt;p&gt;Aha, then probably your patch is in better shape than mine. I&apos;m still cooking it.&lt;br/&gt;
Could you please push yours to gerrit for review? Thanks.&lt;/p&gt;</comment>
                            <comment id="63030" author="simmonsja" created="Fri, 26 Jul 2013 14:00:36 +0000"  >&lt;p&gt;I&apos;m going to need to break the patch into pieces. Currently it is several thousand lines of changes.&lt;/p&gt;</comment>
                            <comment id="63100" author="emoly.liu" created="Mon, 29 Jul 2013 00:33:11 +0000"  >&lt;p&gt;I see. Thanks!&lt;/p&gt;</comment>
                            <comment id="63101" author="emoly.liu" created="Mon, 29 Jul 2013 03:15:52 +0000"  >&lt;p&gt;This port includes the following sub-patches:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#/c/7084&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7084&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7135&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7135&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7139&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7139&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7140&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7140&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="63165" author="bogl" created="Mon, 29 Jul 2013 17:00:24 +0000"  >&lt;p&gt;I see fc19 just jumped from 3.9 to 3.10 kernels.  These changes are now required for fc19 builds.&lt;/p&gt;</comment>
                            <comment id="63387" author="simmonsja" created="Wed, 31 Jul 2013 16:25:30 +0000"  >&lt;p&gt;I opened ticket &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3675&quot; title=&quot;Support for linux 3.10 kernel&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3675&quot;&gt;&lt;del&gt;LU-3675&lt;/del&gt;&lt;/a&gt; for 3.10 kernel support. This ticket and &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-2800&quot; title=&quot;build: clean out old autoconf options&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-2800&quot;&gt;&lt;del&gt;LU-2800&lt;/del&gt;&lt;/a&gt; will need to be linked to it. We need on patch for to handle a api change in 3.10 that impacts llite_loop.c under the &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-2800&quot; title=&quot;build: clean out old autoconf options&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-2800&quot;&gt;&lt;del&gt;LU-2800&lt;/del&gt;&lt;/a&gt; ticket. I just pushed a new &lt;a href=&quot;http://review.whamcloud.com/#/c/7084&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7084&lt;/a&gt; to be the base to handle proc seq. I have all the patches for a 3.10 client as well. The one question I have Peng is I noticed that some times you use the void *data field and some times you use struct seq_files private field. Which do you pick?&lt;/p&gt;</comment>
                            <comment id="63435" author="bergwolf" created="Thu, 1 Aug 2013 02:13:06 +0000"  >&lt;p&gt;James, I thought I&apos;ve made lprocfs to always use seq_file private field when seq_file is used. But I might have missed some. Could you please be specific which function(s) you referred to?&lt;/p&gt;</comment>
                            <comment id="63460" author="simmonsja" created="Thu, 1 Aug 2013 11:57:24 +0000"  >&lt;p&gt;In the current linux tree you have in lproc_status.c alot of lprocfs_rd_* functions using the data field. I believe that the lprocfs_rd_&lt;span class=&quot;error&quot;&gt;&amp;#91;uint/u64/atomic&amp;#93;&lt;/span&gt; do need to use the data field. I will update&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7135/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7135/&lt;/a&gt; to reflect this.&lt;/p&gt;</comment>
                            <comment id="63532" author="bergwolf" created="Fri, 2 Aug 2013 05:16:24 +0000"  >&lt;p&gt;lprocfs_rd_&lt;span class=&quot;error&quot;&gt;&amp;#91;type&amp;#93;&lt;/span&gt; functions are called in macros like LPROC_SEQ_FOPS_RO_TYPE. The void *data parameter passed in is seq_file&apos;s private filed. Please see lprocfs_status.h for details.&lt;/p&gt;</comment>
                            <comment id="63564" author="simmonsja" created="Fri, 2 Aug 2013 15:02:37 +0000"  >&lt;p&gt;So in that it shouldn&apos;t really matter. Can you inspect my patch now at &lt;a href=&quot;http://review.whamcloud.com/#/c/7135&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7135&lt;/a&gt;. I like to get this right so I can push the other patches soon after.&lt;/p&gt;</comment>
                            <comment id="63739" author="simmonsja" created="Tue, 6 Aug 2013 23:25:34 +0000"  >&lt;p&gt;Andreas, Peng I have a new patch at &lt;a href=&quot;http://review.whamcloud.com/#/c/7135&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7135&lt;/a&gt; that will not collide with HSM.  I did as you asked Peng in that this patch introduces two parallel proc handling methods to allow a gradual transition.&lt;/p&gt;</comment>
                            <comment id="64109" author="bogl" created="Mon, 12 Aug 2013 18:31:25 +0000"  >&lt;p&gt;If I&apos;m not mistaken the list of needed patches is now much longer.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#/c/7135&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7135&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7139&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7139&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7140&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7140&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7290&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7290&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7291&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7291&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7292&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7292&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7293&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7293&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7294&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7294&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7295&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7295&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7296&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7296&lt;/a&gt;&lt;/p&gt;
</comment>
                            <comment id="64165" author="simmonsja" created="Tue, 13 Aug 2013 12:02:10 +0000"  >&lt;p&gt;Yep you need all those patches for 3.10 client support. MOre will come soon for ZFS support.&lt;/p&gt;</comment>
                            <comment id="64175" author="bogl" created="Tue, 13 Aug 2013 14:20:58 +0000"  >&lt;p&gt;James,&lt;br/&gt;
As you said I&apos;ve had fair success doing client builds in 3.10 with the listed patches.  Not so much server builds for zfs only.  Big problem seems to be with kernel fs API PDE().  Suspect this is due to the define for this moving to a different linux #include in 3.10&lt;/p&gt;</comment>
                            <comment id="64183" author="simmonsja" created="Tue, 13 Aug 2013 16:06:26 +0000"  >&lt;p&gt;Can you give me to the end of the week. I might have something for you to try with ZFS.&lt;/p&gt;</comment>
                            <comment id="64184" author="simmonsja" created="Tue, 13 Aug 2013 16:18:23 +0000"  >&lt;p&gt;As a side note you need to get the master branch for spl and zfs since 0.6.1 also has issues with the proc changes.&lt;/p&gt;</comment>
                            <comment id="64185" author="bogl" created="Tue, 13 Aug 2013 16:22:11 +0000"  >&lt;p&gt;That&apos;s not a problem.  I typically pluck the latest master spl/zfs for my test builds instead of sticking to 0.6.* like our framework builds.&lt;/p&gt;</comment>
                            <comment id="64738" author="bogl" created="Wed, 21 Aug 2013 15:28:36 +0000"  >&lt;p&gt;The current set of working patches I&apos;m trying look like:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#/c/5380&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/5380&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7135&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7135&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7139&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7139&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7140&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7140&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7290&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7290&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7291&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7291&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7292&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7292&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7293&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7293&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7294&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7294&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7296&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7296&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7295&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7295&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Note the change in order at the end of the list.  This is due to the dependency layout.&lt;br/&gt;
Some of these need rebase to fix conflicts with recent landings.&lt;/p&gt;

&lt;p&gt;At the moment I can still only do client builds, not server builds.&lt;/p&gt;

&lt;p&gt;When using these patches I see a suspicious looking error log at mount time:&lt;/p&gt;

&lt;p&gt;LustreError: 20333:0:(obd_config.c:1443:class_process_proc_seq_param()) writing proc entry import err -30&lt;/p&gt;

&lt;p&gt;I mention it here because it looks related to proc code, where all the changes are.&lt;/p&gt;</comment>
                            <comment id="64836" author="simmonsja" created="Thu, 22 Aug 2013 12:45:37 +0000"  >&lt;p&gt;Ah I see what is causing this. Error -30 is EROFS which means someone is attempting to write a read only variable. Do you  have more detailed logs to know which proc entry this is happening with?&lt;/p&gt;</comment>
                            <comment id="64853" author="bogl" created="Thu, 22 Aug 2013 14:24:42 +0000"  >&lt;p&gt;All I know right now is it happens during a mount cmd.  Suspect it&apos;s something invoked during module init or from mount.lustre.  Maybe I can gather more context from debug log or strace of the mount cmd.  I will see what I can find.&lt;/p&gt;</comment>
                            <comment id="64855" author="simmonsja" created="Thu, 22 Aug 2013 14:41:14 +0000"  >&lt;p&gt;Debugged the problem. It looks someone is attempting using the mgc layer to write to the import proc entry.&lt;/p&gt;</comment>
                            <comment id="64856" author="bogl" created="Thu, 22 Aug 2013 14:51:54 +0000"  >&lt;p&gt;Jaems, Excellent.  You just saved me a bunch of effort.  Thank you.&lt;/p&gt;</comment>
                            <comment id="64859" author="simmonsja" created="Thu, 22 Aug 2013 15:51:15 +0000"  >&lt;p&gt;Yep, import proc entry is writable in some cases. I missed it due to lprocfs_rd_import being in obdclass.c and lprocfs_wr_import being in lproc_ptlrpc.c. Patch will come shortly.&lt;/p&gt;</comment>
                            <comment id="64863" author="simmonsja" created="Thu, 22 Aug 2013 17:18:59 +0000"  >&lt;p&gt;Patch &lt;a href=&quot;http://review.whamcloud.com/#/c/7295/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7295/&lt;/a&gt; has been updated with the fix.&lt;/p&gt;</comment>
                            <comment id="64866" author="bogl" created="Thu, 22 Aug 2013 17:35:37 +0000"  >&lt;p&gt;Verified that the error log message is gone using the new version of #7295.&lt;/p&gt;</comment>
                            <comment id="65627" author="bogl" created="Tue, 3 Sep 2013 16:58:57 +0000"  >&lt;p&gt;Recent refresh of patches not working so well in fc19 (3.10.10).  Now see errors even during client only build.  examples:&lt;/p&gt;


&lt;p&gt;  CC &lt;span class=&quot;error&quot;&gt;&amp;#91;M&amp;#93;&lt;/span&gt;  /home/bogl/lustre-release/lustre/lmv/lmv_obd.o&lt;br/&gt;
/home/bogl/lustre-release/lustre/lmv/lmv_obd.c: In function &#8216;lmv_disconnect_mdc&#8217;:&lt;br/&gt;
/home/bogl/lustre-release/lustre/lmv/lmv_obd.c:652:9: error: implicit declaration of function &#8216;lprocfs_srch&#8217; &lt;span class=&quot;error&quot;&gt;&amp;#91;-Werror=implicit-function-declaration&amp;#93;&lt;/span&gt;&lt;br/&gt;
         lmv_proc_dir = lprocfs_srch(obd-&amp;gt;obd_proc_entry, &quot;target_obds&quot;);&lt;br/&gt;
         ^&lt;br/&gt;
/home/bogl/lustre-release/lustre/lmv/lmv_obd.c:652:22: error: assignment makes pointer from integer without a cast &lt;span class=&quot;error&quot;&gt;&amp;#91;-Werror&amp;#93;&lt;/span&gt;&lt;br/&gt;
         lmv_proc_dir = lprocfs_srch(obd-&amp;gt;obd_proc_entry, &quot;target_obds&quot;);&lt;br/&gt;
                      ^&lt;br/&gt;
/home/bogl/lustre-release/lustre/lmv/lmv_obd.c:656:29: error: assignment makes pointer from integer without a cast &lt;span class=&quot;error&quot;&gt;&amp;#91;-Werror&amp;#93;&lt;/span&gt;&lt;br/&gt;
                 mdc_symlink = lprocfs_srch(lmv_proc_dir, mdc_obd-&amp;gt;obd_name);&lt;br/&gt;
                             ^&lt;br/&gt;
cc1: all warnings being treated as errors&lt;br/&gt;
make&lt;span class=&quot;error&quot;&gt;&amp;#91;6&amp;#93;&lt;/span&gt;: *** &lt;span class=&quot;error&quot;&gt;&amp;#91;/home/bogl/lustre-release/lustre/lmv/lmv_obd.o&amp;#93;&lt;/span&gt; Error 1&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;/home/bogl/lustre-release/lustre/lmv&amp;#93;&lt;/span&gt; Error 2&lt;br/&gt;
make&lt;span class=&quot;error&quot;&gt;&amp;#91;4&amp;#93;&lt;/span&gt;: *** &lt;span class=&quot;error&quot;&gt;&amp;#91;/home/bogl/lustre-release/lustre&amp;#93;&lt;/span&gt; Error 2&lt;br/&gt;
make&lt;span class=&quot;error&quot;&gt;&amp;#91;3&amp;#93;&lt;/span&gt;: *** &lt;span class=&quot;error&quot;&gt;&amp;#91;_module_/home/bogl/lustre-release&amp;#93;&lt;/span&gt; Error 2&lt;br/&gt;
make&lt;span class=&quot;error&quot;&gt;&amp;#91;3&amp;#93;&lt;/span&gt;: Leaving directory `/home/bogl/rpmbuild/BUILD/kernel-3.10.10.200.l0903&apos;&lt;br/&gt;
make&lt;span class=&quot;error&quot;&gt;&amp;#91;2&amp;#93;&lt;/span&gt;: *** &lt;span class=&quot;error&quot;&gt;&amp;#91;modules&amp;#93;&lt;/span&gt; Error 2&lt;br/&gt;
make&lt;span class=&quot;error&quot;&gt;&amp;#91;2&amp;#93;&lt;/span&gt;: Leaving directory `/home/bogl/lustre-release&apos;&lt;br/&gt;
make&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;: *** &lt;span class=&quot;error&quot;&gt;&amp;#91;all-recursive&amp;#93;&lt;/span&gt; Error 1&lt;br/&gt;
make&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;: Leaving directory `/home/bogl/lustre-release&apos;&lt;br/&gt;
make: *** &lt;span class=&quot;error&quot;&gt;&amp;#91;all&amp;#93;&lt;/span&gt; Error 2&lt;/p&gt;

&lt;p&gt;Looks like some functions only #define&apos;d conditionally now are used in 3.10 too.&lt;/p&gt;</comment>
                            <comment id="65631" author="simmonsja" created="Tue, 3 Sep 2013 17:19:51 +0000"  >&lt;p&gt;Oops a chuck got rejected that I missed. Sorry about that. The new patch should address this.&lt;/p&gt;</comment>
                            <comment id="65632" author="bogl" created="Tue, 3 Sep 2013 17:31:53 +0000"  >&lt;p&gt;Verified the additional refresh of #7291 gets client only builds working again.&lt;/p&gt;</comment>
                            <comment id="65639" author="bogl" created="Tue, 3 Sep 2013 18:14:05 +0000"  >&lt;p&gt;Current working patch set is:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#/c/7135&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7135&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/5380&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/5380&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7139&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7139&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7140&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7140&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7290&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7290&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7291&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7291&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7292&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7292&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7293&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7293&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7294&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7294&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7296&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7296&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7295&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7295&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Still can only do client builds.  Server builds don&apos;t work.&lt;/p&gt;
</comment>
                            <comment id="65816" author="ys" created="Thu, 5 Sep 2013 08:47:20 +0000"  >&lt;p&gt;Hi, James, Do you have plan for server works? Else i&apos;ll start working on it.&lt;/p&gt;</comment>
                            <comment id="65941" author="simmonsja" created="Fri, 6 Sep 2013 14:14:29 +0000"  >&lt;p&gt;Yes and I just finished my first pass at ZFS server support. Some parts are full of bugs so I can start pushing what I know works.&lt;/p&gt;</comment>
                            <comment id="68845" author="simmonsja" created="Fri, 11 Oct 2013 17:43:08 +0000"  >&lt;p&gt;I pushed the first set of working patches for server support with seq_files. Not everything has been ported yet as those parts have bugs still. The following that appears to work are:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#/c/7928&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7928&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7929&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7929&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7931&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7931&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#/c/7933&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7933&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7934&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7934&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7935&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7935&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7936&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7936&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="68853" author="bogl" created="Fri, 11 Oct 2013 18:54:43 +0000"  >&lt;p&gt;Not able to build for servers with the added patch set (above).  Getting errors related to use of lprocfs_static_vars, only defined if HAVE_ONLY_PROCFS_SEQ isn&apos;t:&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;
  CC [M]  /home/bogl/lustre-release/lustre/lod/lod_dev.o
In file included from /home/bogl/lustre-release/lustre/lod/lod_dev.c:49:0:
/home/bogl/lustre-release/lustre/lod/lod_internal.h:320:35: error: &#8216;struct lprocfs_static_vars&#8217; declared inside parameter list [-Werror]
/home/bogl/lustre-release/lustre/lod/lod_internal.h:320:35: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
/home/bogl/lustre-release/lustre/lod/lod_dev.c: In function &#8216;lod_process_config&#8217;:
/home/bogl/lustre-release/lustre/lod/lod_dev.c:395:10: error: variable &#8216;v&#8217; has initializer but incomplete type
/home/bogl/lustre-release/lustre/lod/lod_dev.c:395:10: error: excess elements in struct initializer [-Werror]
/home/bogl/lustre-release/lustre/lod/lod_dev.c:395:10: error: (near initialization for &#8216;v&#8217;) [-Werror]
/home/bogl/lustre-release/lustre/lod/lod_dev.c:395:30: error: storage size of &#8216;v&#8217; isn&#8217;t known
   .
   .
   .
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Is there maybe a refresh of change #7135 that fixes this not pushed to gerrit?&lt;/p&gt;</comment>
                            <comment id="68908" author="simmonsja" created="Mon, 14 Oct 2013 14:12:27 +0000"  >&lt;p&gt;lod is one of the subsystems missing. Currently I&apos;m working out a few bugs.&lt;/p&gt;</comment>
                            <comment id="69651" author="simmonsja" created="Wed, 23 Oct 2013 16:43:33 +0000"  >&lt;p&gt;I finished up support for ZFS server support with the linux 3.11 kernel. You will need the client patches which are:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#/c/7135&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7135&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7139&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7139&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7140&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7140&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7290&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7290&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7291&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7291&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7292&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7292&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7293&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7293&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7294&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7294&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7296&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7296&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7295&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7295&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/5380&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/5380&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Server side patches for ZFS support needed are:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#/c/7928&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7928&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7929&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7929&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7931&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7931&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#/c/7933&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7933&lt;/a&gt;&lt;br/&gt;
#depends 7933&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7934&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7934&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7935&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7935&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7936&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7936&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/8010&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8010&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/8029&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8029&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/8036&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8036&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/8049&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8049&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Of course you need the patches for kernel 3.11 support which are listed under &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3974&quot; title=&quot;Support for linux 3.11 kernel&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3974&quot;&gt;&lt;del&gt;LU-3974&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I have started to work on ldiskfs but that will require a lot more work which we can cover in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3373&quot; title=&quot;ldiskfs patches for FC19&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3373&quot;&gt;&lt;del&gt;LU-3373&lt;/del&gt;&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;Now that ZFS support is ready give it a try &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="70797" author="bogl" created="Tue, 5 Nov 2013 23:37:21 +0000"  >&lt;p&gt;recent refreshes of the client patches seem to work fine.  need refreshes of all the server patches to fix up the calls to class_register_type() too.&lt;/p&gt;</comment>
                            <comment id="70862" author="simmonsja" created="Wed, 6 Nov 2013 16:20:44 +0000"  >&lt;p&gt;Working through some new bugs. Oleg&apos;s testing of the patch found a problem when freeing the proc entries that was registered with class_register_type. If you examine class_unregister_type we call lprocfs_try_remove_proc_entry to free the proc tree currently but that function parses through the proc directory tree structure which can&apos;t be done on newer kernels. I originally updated the code to use lprocfs_remove which removes all the subdirectories. It was updated to work on current RHEL6 kernels and the upstream kernels. This worked fine for client but not&lt;br/&gt;
server since we have the case of proc tres being symlinked, lod to lov for example, to each other. We have to find the proper proc tree to delete by the name, not the proc_dir_entry handle but you can&apos;t do that with lprocfs_remove so we use remove_proc_subtree instead. BTW this is broken upstream as well but was never encountered since the upstream code is only for clients which have no top level symlinks. That could change in the future.&lt;/p&gt;

&lt;p&gt;The latest patch using remove_proc_subtree appears to resolve this issue but now new bugs show up due to the older code handling the locking of the proc tree and then newer code depending on newer kernel code to handle the locking itself. We have to make sure they work side by side. I&apos;m working through those issues now.&lt;/p&gt;

&lt;p&gt;Lastest I changed class_register again. All the instances I encountered only used num_ref which I removed as Andreas suggested which simplified the function. Well osd-ldiskfs passes in more than just num_refs so I had to restore it.&lt;/p&gt;

&lt;p&gt;One other bug I noticed before on the server side was evict_client. This one is strange that only fails a fraction of the time which makes no sense and only with the ofd proc evict_client entry.&lt;/p&gt;

&lt;p&gt;I hope to have this resolved in the next few days but it will take time to do all the testing for so many targets.&lt;/p&gt;</comment>
                            <comment id="71018" author="adilger" created="Thu, 7 Nov 2013 21:24:48 +0000"  >&lt;p&gt;Personally, I would prefer if each structure kept a reference to its corresponding entries in /proc, and then only that entry would be deleted at the end.  I don&apos;t like the idea of scanning /proc for entries that might need to be deleted.  That is something we inherited from the original lprocfs contributor and I&apos;d rather remove it if this is the time to do so.&lt;/p&gt;

&lt;p&gt;How is this done in other parts of the kernel?&lt;/p&gt;</comment>
                            <comment id="71227" author="simmonsja" created="Mon, 11 Nov 2013 14:35:44 +0000"  >&lt;p&gt;The new code removes the scanning since you can&apos;t transverse the tree like we do for lproc_srch with newer kernels. In fact I do keep a reference in struct obd_device (obd_proc_private). New kernels remove an entire proc subtree with remove_proc_subtree. You can also still do a remove_proc_entry which deletes a proc entry by name as long as you know the parent.&lt;/p&gt;</comment>
                            <comment id="71228" author="simmonsja" created="Mon, 11 Nov 2013 14:37:25 +0000"  >&lt;p&gt;I just refreshed all the patches. My testing over the weekend shows promise with this set. Only the ofd needs more work now. I also have some early code for the ldiskfs layer but I ran into some problems during testing. The patches know to work will be posted very soon.&lt;/p&gt;</comment>
                            <comment id="71235" author="simmonsja" created="Mon, 11 Nov 2013 16:08:59 +0000"  >&lt;p&gt;The patches need to port both ZFS and ldiskfs proc handling over to seq_file is&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#/c/7135&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7135&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7139&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7139&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7140&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7140&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7290&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7290&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7291&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7291&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7292&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7292&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7293&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7293&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7294&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7294&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7296&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7296&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7295&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7295&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Server side patches for ZFS support needed are:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#/c/7928&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7928&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7929&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7929&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7931&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7931&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#/c/7933&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7933&lt;/a&gt;&lt;br/&gt;
#depends 7933&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7934&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7934&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7935&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7935&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7936&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7936&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/8010&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8010&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/8029&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8029&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/8036&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8036&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/8232&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8232&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/8029&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8029&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/8036&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8036&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/8049&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8049&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Additional patches from &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3373&quot; title=&quot;ldiskfs patches for FC19&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3373&quot;&gt;&lt;del&gt;LU-3373&lt;/del&gt;&lt;/a&gt;,&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3974&quot; title=&quot;Support for linux 3.11 kernel&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3974&quot;&gt;&lt;del&gt;LU-3974&lt;/del&gt;&lt;/a&gt;, and patch &lt;a href=&quot;http://review.whamcloud.com/#/c/5380&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/5380&lt;/a&gt; for support of kernel 3.11 server support for ldiskfs/zfs. Only the iterator code fore ldiskfs needs to be worked out.&lt;/p&gt;</comment>
                            <comment id="71816" author="simmonsja" created="Mon, 18 Nov 2013 19:14:10 +0000"  >&lt;p&gt;The ldiskfs code has been worked out and I have been testing a file system on our cray test bed. So far the only issue I ran into is in osp_process_config which shows up with DEBUG_PAGEALLOC enabled in the kernel. This happened when the file system attempted an recovery. This means &lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#/c/8029&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8029&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;needs more work.&lt;/p&gt;</comment>
                            <comment id="71957" author="simmonsja" created="Wed, 20 Nov 2013 14:56:09 +0000"  >&lt;p&gt;Patch &lt;a href=&quot;http://review.whamcloud.com/#/c/7135&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7135&lt;/a&gt; finished its maloo test with success. Please inspect so we can land it soon. Thank you.&lt;/p&gt;</comment>
                            <comment id="71967" author="bogl" created="Wed, 20 Nov 2013 16:31:12 +0000"  >&lt;p&gt;don&apos;t want to +review #7135 until I can run it some more.  Can&apos;t run it due to other patches needing refresh, in particular #7741&lt;/p&gt;</comment>
                            <comment id="71972" author="simmonsja" created="Wed, 20 Nov 2013 18:03:04 +0000"  >&lt;p&gt;Several patches need refreshing. The patches are getting stale but to handle that I have to refresh 7135. Can I send you the updated patches to test with? I have them updated locally against the current master. &lt;/p&gt;</comment>
                            <comment id="71975" author="bogl" created="Wed, 20 Nov 2013 18:06:09 +0000"  >&lt;p&gt;Would prefer to see them pushed to Gerrit so I can see them all consistent, but I will take them however I can get them for test.  Thanks, James.&lt;/p&gt;</comment>
                            <comment id="71977" author="simmonsja" created="Wed, 20 Nov 2013 18:17:10 +0000"  >&lt;p&gt;Once 7135 is landed I will need to sync up several patches. Its just right now it Maloo roulette if you submit a patch.&lt;/p&gt;</comment>
                            <comment id="72820" author="bogl" created="Wed, 4 Dec 2013 16:16:41 +0000"  >&lt;p&gt;I strongly suspect the patch #7135 recently landed to master has broken the build in Centos/RHEL 6.5.  see comment in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4287&quot; title=&quot;Kernel update [RHEL6.5 2.6.32-431.3.1.el6]&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4287&quot;&gt;&lt;del&gt;LU-4287&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="72823" author="simmonsja" created="Wed, 4 Dec 2013 16:30:23 +0000"  >&lt;p&gt;I see the issue. It appears some parts of the procfs changes upstream were back ported. I&apos;m looking at a way to fix this issue. I will post a patch with ticket &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4287&quot; title=&quot;Kernel update [RHEL6.5 2.6.32-431.3.1.el6]&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4287&quot;&gt;&lt;del&gt;LU-4287&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="73105" author="simmonsja" created="Mon, 9 Dec 2013 18:02:39 +0000"  >&lt;p&gt;The following patches are ready for review and possible landing.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#/c/7139&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7139&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7291&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7291&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7292&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7292&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7292&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7292&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7931&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7931&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="73292" author="simmonsja" created="Wed, 11 Dec 2013 16:22:03 +0000"  >&lt;p&gt;Several patches have landed. The following patches for client support are ready for review for feedback.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#/c/7140&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7140&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7290&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7290&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7291&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7291&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7293&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7293&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7296&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7296&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7295&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7295&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7928&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7928&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="73752" author="simmonsja" created="Wed, 18 Dec 2013 16:03:14 +0000"  >&lt;p&gt;Client support is down to a few patches now. The patches needed are&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#/c/7290&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7290&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7291&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7291&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7293&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7293&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Please review them. Other patches also ready for inspection are&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#/c/7928&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7928&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7933&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7933&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When the merger of 7933 happens then we can also complete the &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1330&quot; title=&quot;split/cleanup for obdclass/fid/fld modules&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1330&quot;&gt;&lt;del&gt;LU-1330&lt;/del&gt;&lt;/a&gt; work.&lt;/p&gt;</comment>
                            <comment id="74263" author="simmonsja" created="Thu, 2 Jan 2014 19:37:53 +0000"  >&lt;p&gt;Time for a status update. For client support we are down to one patch which is &lt;a href=&quot;http://review.whamcloud.com/#/c/7290&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7290&lt;/a&gt;. Unfortunately a new problem is showing up which I can&apos;t explain.&lt;br/&gt;
Test conf-sanity 28 fails 4% of time with the following error.&lt;/p&gt;

&lt;p&gt;LustreError: 18595:0:(lproc_llite.c:367:ll_max_read_ahead_whole_mb_seq_write()) can&apos;t set max_read_ahead_whole_mb more than max_read_ahead_per_file_mb: 0&lt;br/&gt;
LustreError: 18595:0:(obd_config.c:1443:class_process_proc_seq_param()) writing proc entry max_read_ahead_whole_mb err -34&lt;/p&gt;

&lt;p&gt;Looking at the code this means the variable ra_max_pages is being set to zero. Looking at llite_lib.c&lt;br/&gt;
we see that &lt;/p&gt;

&lt;p&gt;pages = si.totalram - si.totalhigh;&lt;br/&gt;
...&lt;br/&gt;
sbi-&amp;gt;ll_ra_info.ra_max_pages_per_file = min(pages / 32,&lt;br/&gt;
                                           SBI_DEFAULT_READAHEAD_MAX);&lt;/p&gt;

&lt;p&gt;so for some reason si_meminfo() is reporting no free memory.&lt;/p&gt;

&lt;p&gt;How should we handle this case?&lt;/p&gt;

&lt;p&gt;As for server support I have new working patches coming once &lt;a href=&quot;http://review.whamcloud.com/#/c/7933&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7933&lt;/a&gt; finished maloo successfully. Only the ofd layer needs for work that I know of.&lt;/p&gt;</comment>
                            <comment id="74264" author="bogl" created="Thu, 2 Jan 2014 19:42:35 +0000"  >&lt;p&gt;I think the Jira ticket &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4425&quot; title=&quot;Test failure on test suite conf-sanity, subtest test_28&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4425&quot;&gt;&lt;del&gt;LU-4425&lt;/del&gt;&lt;/a&gt; is related to the failure(s) you mention.&lt;/p&gt;</comment>
                            <comment id="74397" author="simmonsja" created="Mon, 6 Jan 2014 14:29:00 +0000"  >&lt;p&gt;The following server side patches are ready for inspection and possible landing.&lt;/p&gt;


&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#/c/7933&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7933&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7934&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7934&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7935&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7935&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/8029&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8029&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="74815" author="simmonsja" created="Mon, 13 Jan 2014 14:26:38 +0000"  >&lt;p&gt;We have two patches that are ready for inspection and landing that adds support on the client side.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#/c/7290&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7290&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/8816&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8816&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Also a few server side patches are ready as well.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#/c/7933&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7933&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7934&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7934&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7935&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7935&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/8029&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8029&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="74851" author="bogl" created="Mon, 13 Jan 2014 20:19:58 +0000"  >&lt;p&gt;James,&lt;br/&gt;
  I see you were right in there with &lt;a href=&quot;http://review.whamcloud.com/#/c/8816&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8816&lt;/a&gt; as soon as new lustre/nodemap code landed.  Very nice.  Didn&apos;t experience any gap in support for 3.10 clients.&lt;/p&gt;</comment>
                            <comment id="75358" author="simmonsja" created="Tue, 21 Jan 2014 17:48:44 +0000"  >&lt;p&gt;Good news is that all the client side patches have landed. We have 3.10 kernel support for Lustre clients. I just pushed one patch for client side to deal with the issues people pointed out during&lt;br/&gt;
the review process that were not show stoppers but needed to be address. That patch is at&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#/c/8943&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8943&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;One patch was merged that had a bug that broke master when merged but has now been removed. Working on a solution for that. In the mean time I have updated the server patches that don&apos;t have symlinks to deal with that break things.&lt;/p&gt;
</comment>
                            <comment id="75823" author="simmonsja" created="Wed, 29 Jan 2014 00:04:55 +0000"  >&lt;p&gt;While working out the bug that required a revert I discovered a very ancient bug in the procfs code. It appears that in the lustre 1.5 days that a patch was merged that created symlinks in the lov/targets_obds directory that point to obds in the osc layer. Well the targets_obds directory was never created so the symlinks have never existed. So I created a patch to fix this issue as well as found a solution to the race condition for the 8029 patch. The patch is&lt;br/&gt;
at&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#/c/9038&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/9038&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I&apos;m also working to update the server code as well. It will be ready in the near future.&lt;/p&gt;</comment>
                            <comment id="76057" author="simmonsja" created="Sun, 2 Feb 2014 16:03:18 +0000"  >&lt;p&gt;Client side cleanup and bug fixes patches are ready for review.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#/c/8943&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8943&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/9038&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/9038&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Server side patches that passed maloo are:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#/c/7935&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7935&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7934&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7934&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Rest of server side patches are:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#/c/7936&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7936&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/8010&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8010&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/8036&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8036&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/8049&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8049&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/8232&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8232&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="76810" author="alexxy" created="Wed, 12 Feb 2014 09:45:53 +0000"  >&lt;p&gt;Are there current list of patches (up to date ones) needed to run on 3.10 - 3.11 kernels&lt;/p&gt;</comment>
                            <comment id="76926" author="simmonsja" created="Thu, 13 Feb 2014 01:37:40 +0000"  >&lt;p&gt;Depends on what you want to do. Current master works out of the box for 3.10 kernels as long as you don&apos;t enable CONFIG_NAMESPACE. Their is a patch to support user namespace under the &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4476&quot; title=&quot;Add support for linux process namespace&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4476&quot;&gt;&lt;del&gt;LU-4476&lt;/del&gt;&lt;/a&gt;. For 3.11 kernel support of clients you need patches from &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3974&quot; title=&quot;Support for linux 3.11 kernel&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3974&quot;&gt;&lt;del&gt;LU-3974&lt;/del&gt;&lt;/a&gt;. For server support that is more complex. Are you on the hpdd-discuss mailing list? I think it would better to discuss it there. Also currently due to the lfsck work the mdd/ofd layer is in constant flux that makes the patches get outdated fast.&lt;/p&gt;</comment>
                            <comment id="76938" author="alexxy" created="Thu, 13 Feb 2014 05:14:18 +0000"  >&lt;p&gt;Yep. I subscribed on this list. Well actualy i get server with zfs backstore running on 3.11. There was few conflicts during rebase.&lt;/p&gt;</comment>
                            <comment id="77905" author="bogl" created="Wed, 26 Feb 2014 15:29:31 +0000"  >&lt;p&gt;There&apos;s a new problem with 3.10 support due to recently landed code in master.  lfsck code now calls rb_init_node().  This kernel API exists in 2.6 and 3.0 kernels, but not in 3.10 and later.  Don&apos;t know when exactly it disappeared, but it is certainly gone from recent versions. I plan to push an autoconf mod to adapt to the lack of this routine in recent kernel versions.&lt;/p&gt;</comment>
                            <comment id="77910" author="simmonsja" created="Wed, 26 Feb 2014 15:47:04 +0000"  >&lt;p&gt;Yep it was replaced with RB_CLEAR_NODE. Time to make a wrapper for RB_CLEAR_NODE.&lt;/p&gt;</comment>
                            <comment id="77914" author="bogl" created="Wed, 26 Feb 2014 15:53:02 +0000"  >&lt;p&gt;Yes, after consideration it seems to me better to replace our one use of rb_init_node() with RB_CLEAR_NODE(). As far as I can tell RB_CLEAR_NODE() does exist in all kernel versions we support and may not even need a wrapper at all.  Shouldn&apos;t have to fool around with autoconf.  Simpler is better.&lt;/p&gt;
</comment>
                            <comment id="77918" author="simmonsja" created="Wed, 26 Feb 2014 16:24:48 +0000"  >&lt;p&gt;Agree. Since lrn_node is allocated with OBD_ALLOC it will be zeroed out so we don&apos;t have to worry about rb_left or rb_right not being NULL. The RHEL6 version of rb_init_node sets those fields to NULL.&lt;/p&gt;</comment>
                            <comment id="77920" author="bogl" created="Wed, 26 Feb 2014 16:34:55 +0000"  >&lt;p&gt;yes, agree.  Using RB_CLEAR_NODE() immediately after OBD_ALLOC is especially safe since OBD_ALLOC zeros everything as you say.  Did survey a bunch of instances of what were rb_init_node() in RHEL6 and what they become in later versions and the vast majority of uses immediately after allocation in kernel code did change to RB_CLEAR_NODE().&lt;/p&gt;</comment>
                            <comment id="78232" author="bogl" created="Mon, 3 Mar 2014 16:02:06 +0000"  >&lt;p&gt;I think some of the server patches need refresh.  In particular &lt;a href=&quot;http://review.whamcloud.com/#/c/8010&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8010&lt;/a&gt;.  When I try to do a server build on 3.10 with &quot;#define HAVE_ONLY_PROCFS_SEQ 1&quot; I get errors like:&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;  CC [M]  /home/bogl/lustre-release/lustre/lod/lod_dev.o
/home/bogl/lustre-release/lustre/lod/lod_dev.c: In function &#8216;lod_mod_init&#8217;:
/home/bogl/lustre-release/lustre/lod/lod_dev.c:916:2: error: implicit declaration of function &#8216;lprocfs_register&#8217; [-Werror=implicit-function-declaration]
  type-&amp;gt;typ_procsym = lprocfs_register(&quot;lov&quot;, proc_lustre_root,
  ^
/home/bogl/lustre-release/lustre/lod/lod_dev.c:916:20: error: assignment makes pointer from integer without a cast [-Werror]
  type-&amp;gt;typ_procsym = lprocfs_register(&quot;lov&quot;, proc_lustre_root,
                    ^
cc1: all warnings being treated as errors
make[6]: *** [/home/bogl/lustre-release/lustre/lod/lod_dev.o] Error 1
make[5]: *** [/home/bogl/lustre-release/lustre/lod] Error 2
make[4]: *** [/home/bogl/lustre-release/lustre] Error 2
make[3]: *** [_module_/home/bogl/lustre-release] Error 2
make[3]: Leaving directory `/usr/src/kernels/3.10.0-89.el7.x86_64&apos;
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/home/bogl/lustre-release&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bogl/lustre-release&apos;
make: *** [all] Error 2
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;I think there are some new lprocfs_register() calls that need to be #ifdef&apos;ed out for the HAVE_ONLY_PROCFS_SEQ case.&lt;/p&gt;</comment>
                            <comment id="78248" author="simmonsja" created="Mon, 3 Mar 2014 17:37:53 +0000"  >&lt;p&gt;I just pushed the base patch 9038 so I can now update again the patches. All the patches now depend on 9038.&lt;/p&gt;</comment>
                            <comment id="78280" author="bogl" created="Mon, 3 Mar 2014 23:38:02 +0000"  >&lt;p&gt;I see a brand new patch just added to the recipe: &lt;a href=&quot;http://review.whamcloud.com/#/c/9465&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/9465&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="80366" author="simmonsja" created="Thu, 27 Mar 2014 13:00:18 +0000"  >&lt;p&gt;Back to finishing up the 3.12 server side support. Currently for seq_file proc support you need:&lt;/p&gt;

&lt;p&gt;client side:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#/c/9465&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/9465&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/9038&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/9038&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;server side:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#/c/9384&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/9384&lt;/a&gt;  # Note this needs to be reworked. Very broken.&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7934&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7934&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7935&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7935&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7936&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7936&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/8010&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8010&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/8036&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8036&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/8049&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8049&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/8232&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8232&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Lots of bug reductions recently so it is becoming more usable.&lt;/p&gt;</comment>
                            <comment id="82272" author="simmonsja" created="Wed, 23 Apr 2014 13:55:51 +0000"  >&lt;p&gt;More of this work has landed. No more patching is needed for client support. For server support you need the following patches:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#/c/9384&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/9384&lt;/a&gt; - Currently broken. Needs to fixed and tested.&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7936&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7936&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/8010&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8010&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#/c/9059&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/9059&lt;/a&gt; - &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4563&quot; title=&quot;Oopses on bad address writes to proc&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4563&quot;&gt;&lt;del&gt;LU-4563&lt;/del&gt;&lt;/a&gt;, following patches depend on it.&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7934&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7934&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/8036&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8036&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/8049&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8049&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The last two report nid stats wrong which causes some Maloo test to fail. Need to track that down still. Please inspect and test.&lt;/p&gt;</comment>
                            <comment id="82806" author="simmonsja" created="Tue, 29 Apr 2014 21:45:40 +0000"  >&lt;p&gt;Looking at the logs it is not the nid stats that are wrong but the reason for the failure of test for ofd/mdt port is that lprocfs_recovery_status_seq_show has a extra newline that is confusing the test. The patch &lt;a href=&quot;http://review.whamcloud.com/#/c/10007&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/10007&lt;/a&gt; for &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3227&quot; title=&quot;fc18: sanity test_103: @@@@@@ FAIL: permissions failed &quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3227&quot;&gt;&lt;del&gt;LU-3227&lt;/del&gt;&lt;/a&gt; fixes this issue.&lt;/p&gt;</comment>
                            <comment id="82856" author="simmonsja" created="Wed, 30 Apr 2014 15:57:54 +0000"  >&lt;p&gt;Now that &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3227&quot; title=&quot;fc18: sanity test_103: @@@@@@ FAIL: permissions failed &quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3227&quot;&gt;&lt;del&gt;LU-3227&lt;/del&gt;&lt;/a&gt; landed hopefully the test failures we have been seeing for some of our patches will go away. The recipe has changed a bit. I have included the last patch for &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1330&quot; title=&quot;split/cleanup for obdclass/fid/fld modules&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1330&quot;&gt;&lt;del&gt;LU-1330&lt;/del&gt;&lt;/a&gt; into the mix to avoid collisions with the ofd proc changes. &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1330&quot; title=&quot;split/cleanup for obdclass/fid/fld modules&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1330&quot;&gt;&lt;del&gt;LU-1330&lt;/del&gt;&lt;/a&gt; is a step forward to syncing us to the upstream client. The patches now needed for server support are:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#/c/7934&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7934&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7936&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7936&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/8010&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8010&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/8036&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8036&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/2677&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/2677&lt;/a&gt; - &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1330&quot; title=&quot;split/cleanup for obdclass/fid/fld modules&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1330&quot;&gt;&lt;del&gt;LU-1330&lt;/del&gt;&lt;/a&gt; &lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/8049&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8049&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/9384&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/9384&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="83177" author="ys" created="Mon, 5 May 2014 12:43:57 +0000"  >&lt;p&gt;Hi, James, I found a big issue in &lt;a href=&quot;http://review.whamcloud.com/9038&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/9038&lt;/a&gt;. Unfortunately, We lost chance to catch it before landed.  The issue is that, You bring obd_type-&amp;gt;typ_procsym as shared entry between osc &amp;amp; osp, lov &amp;amp; lod. But you also use it in lmv &amp;amp; lov to transfer &apos;target_obds&apos; entry, That is absolute wrong. Since target_obds is per obd, But typ_procsym is per obd_type. So the &apos;typ_procsym&apos;  will be reused while one obd_type has two more obd_devices(It is usual case).  So, Please resotre the obd_proc_private for target_obds. Of course, you can use other name as you like.&lt;/p&gt;</comment>
                            <comment id="83178" author="simmonsja" created="Mon, 5 May 2014 13:29:02 +0000"  >&lt;p&gt;Yep Hammond reported that bug in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4953&quot; title=&quot;/proc/fs/lustre/lmv/*/target_obds missing on second mounts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4953&quot;&gt;&lt;del&gt;LU-4953&lt;/del&gt;&lt;/a&gt;. We have a patch at &lt;a href=&quot;http://review.whamcloud.com/#/c/10192&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/10192&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="84538" author="simmonsja" created="Tue, 20 May 2014 21:20:33 +0000"  >&lt;p&gt;Time for a status update. Several patches have been merged. Also many dependence patches have been merged as well. The patches left are:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#/c/7934&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7934&lt;/a&gt;            // ZFS&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7936&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7936&lt;/a&gt;            // OSP&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/8049&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8049&lt;/a&gt;            // MDD/OFD    currently has a memory leak&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/9384&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/9384&lt;/a&gt;            // NRS TBF      investigating how it works&lt;/p&gt;

&lt;p&gt;The first two patches above are ready for review.&lt;/p&gt;</comment>
                            <comment id="84776" author="simmonsja" created="Fri, 23 May 2014 13:27:35 +0000"  >&lt;p&gt;The issues in NRS TBF have been addressed. Only two patches left to inspect.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#/c/7934&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7934&lt;/a&gt;  // ZFS&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/8049&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8049&lt;/a&gt;  /// MDD/OFD  which should have been fixed&lt;/p&gt;

&lt;p&gt;Once we are down to one patch the last cleanup patch will be pushed.&lt;/p&gt;</comment>
                            <comment id="86692" author="simmonsja" created="Mon, 16 Jun 2014 15:11:02 +0000"  >&lt;p&gt;The last two server patches have landed. All that is left is to create a cleanup patch to remove the technical debt.&lt;/p&gt;</comment>
                            <comment id="87858" author="jlevi" created="Tue, 1 Jul 2014 01:08:54 +0000"  >&lt;p&gt;Patches landed to Master. New ticket to cleanup technical debt created &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5275&quot; title=&quot;clean up technical debt for proc_dir_entry changes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5275&quot;&gt;&lt;del&gt;LU-5275&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10120">
                    <name>Blocker</name>
                                            <outwardlinks description="is blocking">
                                        <issuelink>
            <issuekey id="20090">LU-3665</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="22813">LU-4513</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="22732">LU-4483</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="22808">LU-4510</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="23353">LU-4678</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="27073">LU-5764</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="22811">LU-4511</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="22858">LU-4532</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="25382">LU-5275</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="22582">LU-4416</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="20128">LU-3675</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="12837" name="0001-proc-add-a-child-pde-search-helper.patch" size="2013" author="bergwolf" created="Thu, 16 May 2013 02:02:27 +0000"/>
                            <attachment id="12838" name="0002-staging-lustre-adapt-proc_dir_entry-change.patch" size="221050" author="bergwolf" created="Thu, 16 May 2013 02:02:27 +0000"/>
                            <attachment id="12848" name="proc.c" size="646" author="bergwolf" created="Fri, 17 May 2013 10:31:27 +0000"/>
                            <attachment id="12872" name="remove_lprocfs_srch.patch" size="19681" author="bergwolf" created="Mon, 20 May 2013 13:14:13 +0000"/>
                    </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|hzvr2v:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8278</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>