On Thu, Oct 04, 2012 at 12:11:06PM +0200, Jan Kara wrote: > > retry: > > if (rw == READ && ext4_should_dioread_nolock(inode)) { > > - if (unlikely(!list_empty(&ei->i_completed_io_list))) > > - ext4_flush_completed_IO(inode); > > - > > + if (unlikely(!atomic_read(&EXT4_I(inode)->i_unwritten))) { > This condition which seems to be inverted... Nice catch, thanks! I've fixed this in my tree. - Ted -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html