Inode EIO flag?

2005-08-02 Thread Martin Jambor
Is there any inode flag (or anything equivalent) indicating that writing that particular inode to the device failed because of an IO error? I couldn't find one or determine what am I supposed to do when that happens TIA Martin - To unsubscribe from this list: send the line "unsubscribe linux

Re: Simulated Ordered Mode

2005-07-31 Thread Martin Jambor
On 7/31/05, Al Boldi <[EMAIL PROTECTED]> wrote: > Martin Jambor wrote: { > On 7/31/05, Al Boldi <[EMAIL PROTECTED]> wrote: > > Is it possible to instruct the FS to delay metadata update until after > > a filedata sync? > > If you delayed any update until after

Re: Simulated Ordered Mode

2005-07-31 Thread Martin Jambor
On 7/31/05, Al Boldi <[EMAIL PROTECTED]> wrote: > Is it possible to instruct the FS to delay metadata update until after a > filedata sync? If you delayed any update until after a sync it wouldn't be a sync anymore, would it? HTH Martin - To unsubscribe from this list: send the line "unsubscribe

Re: What happens to pages that failed to be written to disk?

2005-07-30 Thread Martin Jambor
Hi and thanks for all answers. On 7/28/05, Andrew Morton <[EMAIL PROTECTED]> wrote: > > Is the error > > somehow signalled to anyone? > > Yes, it's propagated into the file's address_space for a later > fsync()/fdatasync()/msync() to detect. I see, so a subsequent sync, fsync or umount fail with

What happens to pages that failed to be written to disk?

2005-07-27 Thread Martin Jambor
. What happens to these pages later on? Does the memory manager attempt to write them again? Is the error somehow signalled to anyone? Do filesystems try to relocate the data from bad blocks of the device? TIA Martin Jambor - To unsubscribe from this list: send the line "unsubscribe linux-fs

Re: File and device pages and buffers

2005-04-21 Thread Martin Jambor
Can I try to bring your attention once more to the following issue: On 4/18/05, Martin Jambor <[EMAIL PROTECTED]> wrote: > There is one thing about cache pages and buffers that puzzles me and > that I have not found in any documenatation and that is not quite > obvious from the so

Re: Lazy block allocation and block_prepare_write?

2005-04-19 Thread Martin Jambor
r the first method, but the second would make life easier for filesystems which can have pages consisting of both mapped and reserved blocks. Thank you very much for your reply, the whole thread has been well worth reading. Martin Jambor - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Lazy block allocation and block_prepare_write?

2005-04-17 Thread Martin Jambor
? Would some other part of kernel break if there was a bunch of buffers assigned to the same spot on the disk? On the other hand, if I understand buffer flags correctly, I need to be able to emulate mapping of buffers to set them dirty, or em I wrong? Thanks for any insight or thoughts, Martin Jambor

File and device pages and buffers

2005-04-17 Thread Martin Jambor
way? - Does metadata mean, in true kernel naming confusion spirit, device pages/blocks?). Can anyone tell me what the relationship exactly is and what one has to be aware of when manipulating either of these? Thank you very much in advance, Martin Jambor - To unsubscribe from this list: se

Lilo requirements (Was: Re: Address space operations questions)

2005-04-17 Thread Martin Jambor
Thanks for your reply, I found the the following thing interesting on its own: On 4/7/05, Nikita Danilov <[EMAIL PROTECTED]> wrote: > Consider tools like LILO that want stable block numbers for certain > files. In reiserfs (both v3 and v4) there is an ioctl that disables > relocation for a given f

Re: Address space operations questions

2005-04-06 Thread Martin Jambor
Thank you very much for your reply. On Mar 30, 2005 3:55 PM, Nikita Danilov <[EMAIL PROTECTED]> wrote: > > 1. What is bmap for and what is it supposed to do? > > ->bmap() maps logical block offset within "object" to physical block > number. It is used in few places, notably in the implementation

Address space operations questions

2005-03-29 Thread Martin Jambor
Hi, I have problems understanding the purpose of different entries of struc address_space_operations in 2.6 kernels: 1. What is bmap for and what is it supposed to do? 2. What is the difference between sync_page and write_page? 3. What exactly (fs independent) is the relation in between write_p

Re: mmap question

2005-03-21 Thread Martin Jambor
time the memory is accessed. Don't know how to do that or if you would need to be platform specific, though. HTH Martin Jambor - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html