-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
osd-target: Add support for PANASAS_OSD(s)
Two Makefile configuration parameters are available: +PANASAS_OSD=0/1 +PANASAS_OSDSIM=0/1 (Ignored if PANASAS_OSD not set) These control two things: * File naming convention: - Real OSD has objects files at "$ROOT/dfiles/$P_ID/$O_ID" - OSDSIM has objects files as "$ROOT/dfiles/$P_ID/$O_ID/data" This is set up by creating some root folder for the osd-target and producing a sym-link $ROOT/dfiles => /pandata in real HW and => /usr0/$USER/regression/$TEST/datadir/ in OSDSIM. This is because tgtd has other files it needs that are kept under $ROOT which cannot be stored at /pandata * Will not remove any files/directories on the FORMAT command. osd-target is guest on the Panasas OSD and should not change any files. It does want to initialize attr data_base and set system_id on FORMAT command. * It will attempt to create partitions/objects but will print an error message if so. It should not be used. This is for testing only. Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
- Loading branch information
Boaz Harrosh
committed
May 2, 2010
1 parent
33994cb
commit 57f23a8
Showing
2 changed files
with
45 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters