io_ctl_map_page is called by many functions in free-space-cache.
In most scenarios, the ->cur is not null, e.g. io_ctl_add_entry.
I think we'd better remove the warn_on here.
Signed-off-by: Wang Sheng-Hui
---
fs/btrfs/free-space-cache.c |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
btrfs can use generic_file_read_iter(). Base btrfs_file_write_iter()
on btrfs_file_aio_write(), then have the latter call the former.
Signed-off-by: Dave Kleikamp
Cc: Zach Brown
Cc: Chris Mason
Cc: linux-btrfs@vger.kernel.org
---
fs/btrfs/file.c | 42 ++
Hello,
on a fs with 4 disks, raid 10 for data, one drive was failing and has
been removed. After reboot and 'mount -o degraded...', the fs looks
full, even though before removal of the failed device it was almost
80% free.
root@fs0:~# df -h /mnt/b
Filesystem Size Used Avail Use% Mounted o
On Wed, Nov 21, 2012 at 06:25:11PM +0100, David Sterba wrote:
> On Wed, Nov 21, 2012 at 10:48:08AM -0500, Marios Titas wrote:
> > According to the tentative changelog in the wiki, 3.7 will properly
> > support per-file NOCOW. I think this is misleading. In particular, it
> > still does not work cor