• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

xapi-project / sm
34%
master: 47%

Build:
Build:
LAST BUILD BRANCH: private/bensi/pathRefreshFix
DEFAULT BRANCH: master
Repo Added 05 Jun 2014 09:15AM UTC
Files 101
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH v1.30.0
branch: v1.30.0
CHANGE BRANCH
x
Reset
  • v1.30.0
  • CA-240718
  • CA-247723
  • CA-255945
  • CA-257740
  • CA-263084
  • CA-264210
  • CA-267032
  • CA-267460
  • CA-270011
  • CA-273731
  • CA-274584
  • CA-276601
  • CA-277346
  • CA-292103
  • CP-24279
  • CP-24548
  • cp-24893
  • feature/REQ-562/master
  • feature/REQ-718
  • feature/nbd
  • feature/req488/master
  • marksy/CA-315152
  • master
  • pre-1.18
  • pre-1.19.0
  • pre_1.20.0
  • private/bensi/CA-329841
  • private/bensi/CA-329845
  • private/bensi/CA-331453
  • private/bensi/CA-332806
  • private/bensi/CA-335178
  • private/bensi/CA-335721
  • private/bensi/CP-31856
  • private/bensi/CP-32204
  • private/bensi/CP-32988
  • private/bensi/CP-33629
  • private/bensi/XSI-654
  • private/bensi/XSI-915
  • private/bensi/XSI_570
  • private/bensi/pathRefreshFix
  • release/naples/lcm
  • release/quebec/lcm
  • team/ring0/linux-upstream
  • update-ut-dependencies
  • v1.10.0
  • v1.11.1
  • v1.11.2
  • v1.11.3
  • v1.13.0
  • v1.14.0
  • v1.14.1
  • v1.16.1
  • v1.18.0
  • v1.19.0
  • v1.20.0
  • v1.21.0
  • v1.22.0
  • v1.23.0
  • v1.24.0
  • v1.25.0
  • v1.26.0
  • v1.27.0
  • v1.28.0
  • v1.29.0
  • v1.31.0
  • v1.32.0
  • v1.33.0
  • v1.34.0
  • v1.35.0
  • v1.36.0
  • v1.37.0
  • v2.0.0
  • v2.1.0
  • v2.10.0
  • v2.11.0
  • v2.12.0
  • v2.13.0
  • v2.14.0
  • v2.15.0
  • v2.16.0
  • v2.16.1
  • v2.17.0
  • v2.18.0
  • v2.19.0
  • v2.2.0
  • v2.2.1
  • v2.2.2
  • v2.2.3
  • v2.20.0
  • v2.21.0
  • v2.22.0
  • v2.23.0
  • v2.24.0
  • v2.25.0
  • v2.26.0
  • v2.27.0
  • v2.28.0
  • v2.29.0
  • v2.29.1
  • v2.3.0
  • v2.30.0
  • v2.31.0
  • v2.32.0
  • v2.33.0
  • v2.34.0
  • v2.35.0
  • v2.36.0
  • v2.37.0
  • v2.38.0
  • v2.39.0
  • v2.4.0
  • v2.40.0
  • v2.5.0
  • v2.6.0
  • v2.7.0
  • v2.8.0
  • v2.9.0

pending completion
656

push

travis-ci

MarkSymsCtx
CA-294319: Do not create PV on first device

In the upstream lvm2 (v2_02_177), it handles duplicate PVs differently
with currently used lvm2(v2_02_130) in XenSever. It will prefer first PV
but before it will choose last PV it sees. For example:
    root@xrtuk-13-09 ~]# ll /dev/disk/by-id/scsi-3600a098038303973743f486833396d42
    lrwxrwxrwx 1 root root 10 Aug 27 08:51 /dev/disk/by-id/scsi-3600a098038303973743f486833396d42 -> ../../sdak
From the log:
    SM: [12939]   WARNING: PV Iyrwu7-JpT6-l8dX-9K8x-Rz2z-n9hV-SUzMf9 on /dev/sdak was already found on /dev/sdd

So it the device will excluded by a filter internally.

There may be two options we can try to fix this issu:
    1: Patch upstream lvm2 to let it use last seen PV, but from the
    trend of upstream, it will prefer to use first seen PV and lots of
    code related with change. So it will need lots of effort to do this
    patch.
    2: When we creat VG, from current code logic, it will firstly create
    PV for each device and then create a VG for the first device, at
    last add other PVs to the VG. So we can skip first device to create
    PV as VG create will initialize the PV by using function "pvcreate_each_device".

Signed-off-by: Taoyong Ding <taoyong.ding@citrix.com>

828 of 6403 branches covered (12.93%)

7020 of 20885 relevant lines covered (33.61%)

0.34 hits per line

Relevant lines Covered
Build:
Build:
20885 RELEVANT LINES 7020 COVERED LINES
0.34 HITS PER LINE
Source Files on v1.30.0
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
656 v1.30.0 CA-294319: Do not create PV on first device In the upstream lvm2 (v2_02_177), it handles duplicate PVs differently with currently used lvm2(v2_02_130) in XenSever. It will prefer first PV but before it will choose last PV it sees. For example: ... push 31 Oct 2018 09:34AM UTC MarkSymsCtx travis-ci pending completion  
See All Builds (831)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc