Re: [PATCH v3] UDF: Add support for O_DIRECT

2012-09-05 Thread Jan Kara
On Wed 05-09-12 14:55:33, Jan Kara wrote: > On Wed 05-09-12 14:05:20, Jan Kara wrote: > > On Tue 04-09-12 16:11:32, Ian Abbott wrote: > > > >>1. Small files stored in the ICB (inode control block?): just return 0 > > > >>from the new udf_adinicb_direct_IO() handler to fall back to buffered > > >

Re: [PATCH v3] UDF: Add support for O_DIRECT

2012-09-05 Thread Jan Kara
On Wed 05-09-12 14:05:20, Jan Kara wrote: > On Tue 04-09-12 16:11:32, Ian Abbott wrote: > > >>1. Small files stored in the ICB (inode control block?): just return 0 > > >>from the new udf_adinicb_direct_IO() handler to fall back to buffered > > >>I/O. For direct writes, there is a "gotcha" to

Re: [PATCH v3] UDF: Add support for O_DIRECT

2012-09-05 Thread Jan Kara
On Tue 04-09-12 16:11:32, Ian Abbott wrote: > On 2012-09-04 15:39, Jan Kara wrote: > > Hello, > > > > first, you have my address wrong (you had suze instead of suse) which is > >why I wasn't getting your email and not replying (missed the patch in LKML > >traffic). Second, it's good to CC also

Re: [PATCH v3] UDF: Add support for O_DIRECT

2012-09-05 Thread Ian Abbott
On 2012-09-04 16:11, Ian Abbott wrote: On 2012-09-04 15:39, Jan Kara wrote: On Tue 04-09-12 10:49:39, Ian Abbott wrote: Add support for the O_DIRECT flag. There are two cases to deal with: Out of curiosity, do you have a use for this feature or is it mostly academic interest? I'm

Re: [PATCH v3] UDF: Add support for O_DIRECT

2012-09-05 Thread Ian Abbott
On 2012-09-04 16:11, Ian Abbott wrote: On 2012-09-04 15:39, Jan Kara wrote: On Tue 04-09-12 10:49:39, Ian Abbott wrote: Add support for the O_DIRECT flag. There are two cases to deal with: Out of curiosity, do you have a use for this feature or is it mostly academic interest? I'm

Re: [PATCH v3] UDF: Add support for O_DIRECT

2012-09-05 Thread Jan Kara
On Tue 04-09-12 16:11:32, Ian Abbott wrote: On 2012-09-04 15:39, Jan Kara wrote: Hello, first, you have my address wrong (you had suze instead of suse) which is why I wasn't getting your email and not replying (missed the patch in LKML traffic). Second, it's good to CC also

Re: [PATCH v3] UDF: Add support for O_DIRECT

2012-09-05 Thread Jan Kara
On Wed 05-09-12 14:05:20, Jan Kara wrote: On Tue 04-09-12 16:11:32, Ian Abbott wrote: 1. Small files stored in the ICB (inode control block?): just return 0 from the new udf_adinicb_direct_IO() handler to fall back to buffered I/O. For direct writes, there is a gotcha to deal with when

Re: [PATCH v3] UDF: Add support for O_DIRECT

2012-09-05 Thread Jan Kara
On Wed 05-09-12 14:55:33, Jan Kara wrote: On Wed 05-09-12 14:05:20, Jan Kara wrote: On Tue 04-09-12 16:11:32, Ian Abbott wrote: 1. Small files stored in the ICB (inode control block?): just return 0 from the new udf_adinicb_direct_IO() handler to fall back to buffered I/O. For direct

Re: [PATCH v3] UDF: Add support for O_DIRECT

2012-09-04 Thread Ian Abbott
On 2012-09-04 15:39, Jan Kara wrote: Hello, first, you have my address wrong (you had suze instead of suse) which is why I wasn't getting your email and not replying (missed the patch in LKML traffic). Second, it's good to CC also linux-fsdevel for UDF related matters (I tend to use that

Re: [PATCH v3] UDF: Add support for O_DIRECT

2012-09-04 Thread Jan Kara
Hello, first, you have my address wrong (you had suze instead of suse) which is why I wasn't getting your email and not replying (missed the patch in LKML traffic). Second, it's good to CC also linux-fsdevel for UDF related matters (I tend to use that for UDF announcements etc. so people

[PATCH v3] UDF: Add support for O_DIRECT

2012-09-04 Thread Ian Abbott
Add support for the O_DIRECT flag. There are two cases to deal with: 1. Small files stored in the ICB (inode control block?): just return 0 from the new udf_adinicb_direct_IO() handler to fall back to buffered I/O. For direct writes, there is a "gotcha" to deal with when

[PATCH v3] UDF: Add support for O_DIRECT

2012-09-04 Thread Ian Abbott
Add support for the O_DIRECT flag. There are two cases to deal with: 1. Small files stored in the ICB (inode control block?): just return 0 from the new udf_adinicb_direct_IO() handler to fall back to buffered I/O. For direct writes, there is a gotcha to deal with when

Re: [PATCH v3] UDF: Add support for O_DIRECT

2012-09-04 Thread Jan Kara
Hello, first, you have my address wrong (you had suze instead of suse) which is why I wasn't getting your email and not replying (missed the patch in LKML traffic). Second, it's good to CC also linux-fsdevel for UDF related matters (I tend to use that for UDF announcements etc. so people

Re: [PATCH v3] UDF: Add support for O_DIRECT

2012-09-04 Thread Ian Abbott
On 2012-09-04 15:39, Jan Kara wrote: Hello, first, you have my address wrong (you had suze instead of suse) which is why I wasn't getting your email and not replying (missed the patch in LKML traffic). Second, it's good to CC also linux-fsdevel for UDF related matters (I tend to use that