From f425416699be5afb6d2f9184afc561c62bfe57d3 Mon Sep 17 00:00:00 2001 From: Andreas Joachim Peters Date: Wed, 8 Jan 2025 11:49:57 +0100 Subject: [PATCH] MGM: don't lookup the 'space' name if there is only a tape copy --- mgm/XrdMgmOfsFile.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mgm/XrdMgmOfsFile.cc b/mgm/XrdMgmOfsFile.cc index ffecb3981..b87be1891 100644 --- a/mgm/XrdMgmOfsFile.cc +++ b/mgm/XrdMgmOfsFile.cc @@ -1277,7 +1277,7 @@ XrdMgmOfsFile::open(eos::common::VirtualIdentity* invid, if (vid.prot != "https" && !isInjection && !isTpc && !isRepair && fmd) { // we need to get the space by looking at the first location - if (fmdfs0) { + if (fmdfs0 && (fmdfs0 != EOS_TAPE_FSID)) { eos::common::FileSystem::fs_snapshot_t local_snapshot; { eos::common::RWMutexReadLock fs_rd_lock(FsView::gFsView.ViewMutex); @@ -1598,7 +1598,7 @@ XrdMgmOfsFile::open(eos::common::VirtualIdentity* invid, if (vid.prot != "https" && !isTpc && !isRepair && !isRepairRead && !isPio && !isPioReconstruct) { // we need to get the space by looking at the first location - if (fmdfs0) { + if (fmdfs0 && (fmdfs0 != EOS_TAPE_FSID)) { eos::common::FileSystem::fs_snapshot_t local_snapshot; { eos::common::RWMutexReadLock fs_rd_lock(FsView::gFsView.ViewMutex);