15as/ handle errors from lafs_write_super ???
-15at/ More wait_queues to wait for different blocks.
- An array which we hash in to ??
+DONE 15at/ More wait_queues to wait for different blocks.
+ just use wait_on_bit / wake_bit
-15au/ How should iocheck_block set the page error?
- and block_loaded
+DONE 15au/ How should iocheck_block set the page error?
+ and block_loaded <- this gets it right.
15av/ ditto for write errors?
for (i = 0 ; i < n; i++) {
if (test_bit(B_IOLock, &blist[i].b.flags))
locked++;
- /* FIXME what about checking uptodate ?? */
}
if (!locked && test_and_clear_bit(B_HaveLock, &blist->b.flags))
havelock = 1;
* if this is a header block, possibly for earlier clusters.
*
* Later should attempt to combine multiple blocks into the
- * one bio ... if we can manage the b_endio function properly
+ * one bio ... if we can manage the bi_end_io function properly
*/
static void write_block(struct fs *fs, struct page *p, int offset,