linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Lars Ellenberg <Lars.Ellenberg@linbit.com>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] Directly using a logical volume
Date: Wed, 21 Sep 2005 14:58:09 +0200	[thread overview]
Message-ID: <20050921125809.GC16203@barkeeper1.linbit> (raw)
In-Reply-To: <C28DB247D333BC47BBAAFDC914DE39010261F5D6@atlexc07ntms.mckesson.com>

/ 2005-09-20 16:14:25 -0400
\ Allen, Jack:
>         I have a system connected to a SAN via Fibre Channel interface.
> The system sees 3 disk sdb, sdc and sdd. I put them in a volume group
> and then allocated some logical volumes. If I use the logical volume to
> read and write to directly for my application, if there is an error on a
> write, I assume the write system call will return an error. Or does the
> write give a good return value after putting the data in some system
> buffer to be written later? Then is the write of the system buffer fails
> later, my program would not know.

not exactly a linux-lvm question, is it?

man 2 write
man 2 fsync
man 3 open       (O_SYNC)

-- 
: Lars Ellenberg                                  Tel +43-1-8178292-0  :
: LINBIT Information Technologies GmbH            Fax +43-1-8178292-82 :
: Schoenbrunner Str. 244, A-1120 Vienna/Europe   http://www.linbit.com :

  reply	other threads:[~2005-09-21 12:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-20 20:14 [linux-lvm] Directly using a logical volume Allen, Jack
2005-09-21 12:58 ` Lars Ellenberg [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-09-21 17:23 Allen, Jack
2005-09-21 20:54 ` Lars Ellenberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050921125809.GC16203@barkeeper1.linbit \
    --to=lars.ellenberg@linbit.com \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).