Skip to contentSkip to conversation

drbdmeta und glib ...

PATCH Lars Ellenberg 2 participants 2 messages Oct 19, 2004 3 messages not in the archive DRBD driver

lore
Share & tools
lore

Lars Ellenberg

author maintainer
#3 lore raw
In reply to a message not in the archive

/ 2004-10-19 11:35:04 +0200
\ Philipp Reisner:

Quoted 5 lines · you
Quoted 4 lines

mir gefällt nicht, dass du jetzt auch noch die glib mit reinziehen willst. patch sieht hässlich aus, schau dir das ergebniss an.
bei der gelegenheit auch gleich whitespace und // -> /* */ :-)

Quoted 8 lines
Quoted 5 lines

den rest hab ich nicht wirklich durchgelesen, das mach ich dann, wenns fertig ist.
wie du dir das mit dem lock-file denkst musst du mir nochmal erklären... und tut das nicht evtl. einfach ein fcntl lock, wenns schon sein muss?

fcntl lock auf was ? Wenn das Modul nicht geladen ist, kann man das /dev/drbd ja nicht mal öffnen.

ok. so what exactly do you want to protect with that lock? I thought of locking the physical device.

anycase, we probably should be able to identify which meta data block belongs to which data storage area, independently of device nodes and numbers.

lge

maintainer
#4 lore raw

[...]

Quoted 7 lines

ok. so what exactly do you want to protect with that lock? I thought of locking the physical device.

anycase, we probably should be able to identify which meta data block belongs to which data storage area, independently of device nodes and numbers.

The initail idea was to prevent drbdsetup to run while drbdmeta runs...

-philipp

Signature · 3 lines
: Dipl-Ing Philipp Reisner                      Tel +43-1-8178292-50 :
: LINBIT Information Technologies GmbH          Fax +43-1-8178292-82 :
: Schönbrunnerstr 244, 1120 Vienna, Austria    http://www.linbit.com :