search for: ocfs2_map_page_block

Displaying 5 results from an estimated 5 matches for "ocfs2_map_page_block".

Did you mean: ocfs2_map_page_blocks
2007 Jun 08
0
[git patches] ocfs2 fixes
...s2/aops.c +++ b/fs/ocfs2/aops.c @@ -798,6 +798,11 @@ int ocfs2_map_and_write_splice_data(stru } to = from + bytes; + BUG_ON(from > PAGE_CACHE_SIZE); + BUG_ON(to > PAGE_CACHE_SIZE); + BUG_ON(from < cluster_start); + BUG_ON(to > cluster_end); + if (wc->w_this_page_new) ret = ocfs2_map_page_blocks(wc->w_this_page, p_blkno, inode, cluster_start, cluster_end, 1); @@ -809,11 +814,6 @@ int ocfs2_map_and_write_splice_data(stru goto out; } - BUG_ON(from > PAGE_CACHE_SIZE); - BUG_ON(to > PAGE_CACHE_SIZE); - BUG_ON(from > osb->s_clustersize); - BUG_ON(to > osb-&gt...
2009 Jul 13
1
[PATCH 1/1] adds mlogs to aops.c
...2_I(inode)->ip_blkno, page->index, block_start); + if (ocfs2_sparse_alloc(OCFS2_SB(inode->i_sb))) - return 1; + goto bail; if (i_size_read(inode) > offset) - return 1; + goto bail; - return 0; + ret = 0; +bail: + mlog_exit(ret); + return ret; } /* @@ -791,6 +852,9 @@ int ocfs2_map_page_blocks(struct page *page, u64 *p_blkno, unsigned int block_end, block_start; unsigned int bsize = 1 << inode->i_blkbits; + mlog_entry("(%lu, .., %llu, %u, %u, %d)\n", + page->index, OCFS2_I(inode)->ip_blkno, from, to, new); + if (!page_has_buffers(page)) create_emp...
2009 Jul 21
1
(no subject)
...de)->ip_blkno, page->index, + block_start); + if (ocfs2_sparse_alloc(OCFS2_SB(inode->i_sb))) - return 1; + goto bail; if (i_size_read(inode) > offset) - return 1; + goto bail; - return 0; + ret = 0; +bail: + mlog_exit(ret); + return ret; } /* @@ -791,6 +857,10 @@ int ocfs2_map_page_blocks(struct page *page, u64 *p_blkno, unsigned int block_end, block_start; unsigned int bsize = 1 << inode->i_blkbits; + mlog_entry("(%lu, .., %llu, %u, %u, %d)\n", + page->index, (unsigned long long)OCFS2_I(inode)->ip_blkno, + from, to, new); + if (!page_has_bu...
2009 Jul 21
1
[PATCH 1/1] ocfs2: adds mlogs to aops.c -V2
...de)->ip_blkno, page->index, + block_start); + if (ocfs2_sparse_alloc(OCFS2_SB(inode->i_sb))) - return 1; + goto bail; if (i_size_read(inode) > offset) - return 1; + goto bail; - return 0; + ret = 0; +bail: + mlog_exit(ret); + return ret; } /* @@ -791,6 +857,10 @@ int ocfs2_map_page_blocks(struct page *page, u64 *p_blkno, unsigned int block_end, block_start; unsigned int bsize = 1 << inode->i_blkbits; + mlog_entry("(%lu, .., %llu, %u, %u, %d)\n", + page->index, (unsigned long long)OCFS2_I(inode)->ip_blkno, + from, to, new); + if (!page_has_bu...
2008 Sep 04
4
[PATCH 0/3] ocfs2: Switch over to JBD2.
ocfs2 currently uses the Journaled Block Device (JBD) for its journaling. This is a very stable and tested codebase. However, JBD is limited by architecture to 32bit block numbers. This means an ocfs2 filesystem is limited to 2^32 blocks. With a 4K blocksize, that's 16TB. People want larger volumes. Fortunately, there is now JBD2. JBD2 adds 64bit block number support and some other