Return-Path: Received: from mail-by2on0059.outbound.protection.outlook.com ([207.46.100.59]:20448 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751210AbbDAM4W (ORCPT ); Wed, 1 Apr 2015 08:56:22 -0400 From: "Wang, Zhiye" To: "linux-btrfs@vger.kernel.org" Subject: How to avoid certain file being defragmented? Date: Wed, 1 Apr 2015 12:42:04 +0000 Message-ID: References: <6ba9e4a537f64758b41f356d0b2dd387@uslims211.ca.com> In-Reply-To: <6ba9e4a537f64758b41f356d0b2dd387@uslims211.ca.com> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-btrfs-owner@vger.kernel.org List-ID: Hello, I have some files which I hope their on-disk data can be on fixed location of disk. My understanding is that defragmentation operation can potentially move data blocks of a file. So, can I avoid certain file being defragmented in btrfs?  Thanks Mike​ ÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ¥Šwÿº{.nÇ+‰·¥Š{±ý»k~ÏâžØ^n‡r¡ö¦zË�ëh™¨è­Ú&£ûàz¿äz¹Þ—ú+€Ê+zf£¢·hšˆ§~†­†Ûiÿÿï�êÿ‘êçz_è®æj:+v‰¨þ)ߣøm