emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#15578: closed (Parameter -d or --direct to open fi


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#15578: closed (Parameter -d or --direct to open files with flag O_DIRECT?)
Date: Thu, 10 Oct 2013 03:12:02 +0000

Your message dated Wed, 09 Oct 2013 21:11:48 -0600
with message-id <address@hidden>
and subject line Re: bug#15578: Parameter -d or --direct to open files with 
flag O_DIRECT?
has caused the debbugs.gnu.org bug report #15578,
regarding Parameter -d or --direct to open files with flag O_DIRECT?
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
15578: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15578
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: Parameter -d or --direct to open files with flag O_DIRECT? Date: Wed, 9 Oct 2013 16:18:05 -0700
Please consider the attached gzipped patch file.
It provides additional parameters for cat.
The additional parameter allows cat to open files and read content
without storing the content in the kernel's block cache.

Attachment: coreutils-8.21-O_DIRECT-cat.patch.gz
Description: GNU Zip compressed data


--- End Message ---
--- Begin Message --- Subject: Re: bug#15578: Parameter -d or --direct to open files with flag O_DIRECT? Date: Wed, 09 Oct 2013 21:11:48 -0600 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130923 Thunderbird/17.0.9
tag 15578 notabug
thanks

On 10/09/2013 05:18 PM, Kyle Sallee wrote:
> Please consider the attached gzipped patch file.

Thanks for the patch.

Unless the patch is huger than 100k, it's best to post it inline rather
than forcing readers to go through extra hoops to unpack it.

> It provides additional parameters for cat.
> The additional parameter allows cat to open files and read content
> without storing the content in the kernel's block cache.

However, adding an option to 'cat' is probably not the best option.  We
already have 'dd' that can request O_DIRECT on operating systems where
that is defined, so you are probably better off converting your scripts
to use dd than to try and retrofit cat and wait for the patches to
percolate into your distro.  Look for 'dd iflag=direct'.

I'm closing this bug as we probably aren't going to change cat, but do
feel free to add additional comments on this thread as appropriate.  Who
knows - maybe it's worth reopening and repurposing this bug report into
a documentation patch.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]