Hi John,

We could also try changing the Vagrant script to use -l which should preserve the symlink.

Jim

Sent from my iPhone

On Aug 7, 2018, at 8:02 AM, Meneghini, John <John.Meneghini@netapp.com> wrote:

I think Jim Harris was correct. 

 

The problem came from the rsync of my spdk repository.  This rsync is done by the vagrant script that creates my VM.

 

The solution to the problem is to remove the submodule directories from the SPDK repository on my MacBook.

 

>  git submodule deinit –all

 

There is no need to keep the spdk submodules initialized on my MacBook. 

 

/John

 

 

From: SPDK <spdk-bounces@lists.01.org> on behalf of "Luse, Paul E" <paul.e.luse@intel.com>
Reply-To: Storage Performance Development Kit <spdk@lists.01.org>
Date: Tuesday, August 7, 2018 at 10:48 AM
To: Storage Performance Development Kit <spdk@lists.01.org>
Subject: Re: [SPDK] Git submodule dirty

 

Or, on your local branch, you can try “git submodule sync” then the cmd below… Seth passed that tip on to me once and it worked great

 

Thx

Paul

 

From: SPDK [mailto:spdk-bounces@lists.01.org] On Behalf Of John Barnard
Sent: Tuesday, August 7, 2018 7:40 AM
To: Storage Performance Development Kit <spdk@lists.01.org>
Subject: Re: [SPDK] Git submodule dirty

 

I saw that last week after I updated one of my branches to the master.  I did a "git submodule update" and it went away.

 

-John Barnard

 

On Tue, Aug 7, 2018 at 7:16 AM, John Meneghini <john.a.meneghini@gmail.com> wrote:

Has anyone seen this problem before?

After updating the master branch I see that my dpdk submodule is dirty.

Fedora:vagrant:spdk(vagrant_hugepgs) > git status
On branch vagrant_hugepgs
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)
  (commit or discard the untracked or modified content in submodules)

        modified:   dpdk (modified content)

no changes added to commit (use "git add" and/or "git commit -a")

Fedora:vagrant:spdk(vagrant_hugepgs) > git diff
diff --git a/dpdk b/dpdk
--- a/dpdk
+++ b/dpdk
@@ -1 +1 @@
-Subproject commit b6ae5bcff6ca09a7e1536eaa449aa6f4e704a6d9
+Subproject commit b6ae5bcff6ca09a7e1536eaa449aa6f4e704a6d9-dirty

Fedora:vagrant:spdk(vagrant_hugepgs) > cd dpdk
Fedora:vagrant:dpdk((b6ae5bcff...)) > git status
HEAD detached at b6ae5bcff
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

        typechange: app/test-bbdev/turbo_dec_default.data
        typechange: app/test-bbdev/turbo_enc_default.data

More at:

https://stackoverflow.com/questions/4873980/git-diff-says-subproject-is-dirty


John Meneghini
john.a.meneghini@gmail.com



_______________________________________________
SPDK mailing list
SPDK@lists.01.org
https://lists.01.org/mailman/listinfo/spdk

 

_______________________________________________
SPDK mailing list
SPDK@lists.01.org
https://lists.01.org/mailman/listinfo/spdk