mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zdsfs: coordinated read access
For data consistency it is essential that datasets are not modified by z/OS applications during zdsfs access. This is currently ensured by manually setting the device offline in z/OS before mounting it in Linux. This patch improves the usability and data security by making this manual step obsolete. Before opening a dataset zdsfs will obtain an ENQ to mark it as in use for z/OS and release the ENQ when closing the dataset. A timer is set up that pings the z/OSMF REST services with the ENQ to prevent it from a timeout after 10 minutes. The behavior of zdsfs can be configured in a new config file or with new command line options. Signed-off-by: Stefan Haberland <sth@linux.ibm.com> Reviewed-by: Niklas Schnelle <schnelle@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
b044aec4ff
commit
5737a57920
@@ -192,7 +192,7 @@
|
||||
|
||||
|
||||
#define MAX_LINE_LENGTH 512
|
||||
|
||||
#define MAX_SERVER 3
|
||||
|
||||
/**
|
||||
* @brief This structure represents the count field in an ECKD record.
|
||||
|
||||
Reference in New Issue
Block a user