Lines Matching refs:mp

69 	struct xfs_mount	*mp,
74 mp->m_features &= ~(XFS_FEAT_DAX_ALWAYS | XFS_FEAT_DAX_NEVER);
77 mp->m_features |= XFS_FEAT_DAX_ALWAYS;
78 mp->m_features &= ~XFS_FEAT_DAX_NEVER;
81 mp->m_features |= XFS_FEAT_DAX_NEVER;
82 mp->m_features &= ~XFS_FEAT_DAX_ALWAYS;
181 struct xfs_mount *mp = XFS_M(root->d_sb);
185 if (mp->m_features & xfs_infop->flag)
189 seq_printf(m, ",inode%d", xfs_has_small_inums(mp) ? 32 : 64);
191 if (xfs_has_allocsize(mp))
193 (1 << mp->m_allocsize_log) >> 10);
195 if (mp->m_logbufs > 0)
196 seq_printf(m, ",logbufs=%d", mp->m_logbufs);
197 if (mp->m_logbsize > 0)
198 seq_printf(m, ",logbsize=%dk", mp->m_logbsize >> 10);
200 if (mp->m_logname)
201 seq_show_option(m, "logdev", mp->m_logname);
202 if (mp->m_rtname)
203 seq_show_option(m, "rtdev", mp->m_rtname);
205 if (mp->m_dalign > 0)
207 (int)XFS_FSB_TO_BB(mp, mp->m_dalign));
208 if (mp->m_swidth > 0)
210 (int)XFS_FSB_TO_BB(mp, mp->m_swidth));
212 if (mp->m_qflags & XFS_UQUOTA_ENFD)
214 else if (mp->m_qflags & XFS_UQUOTA_ACCT)
217 if (mp->m_qflags & XFS_PQUOTA_ENFD)
219 else if (mp->m_qflags & XFS_PQUOTA_ACCT)
222 if (mp->m_qflags & XFS_GQUOTA_ENFD)
224 else if (mp->m_qflags & XFS_GQUOTA_ACCT)
227 if (!(mp->m_qflags & XFS_ALL_QUOTA_ACCT))
269 * because in the growfs case, mp->m_sb.sb_agcount is not yet updated
276 struct xfs_mount *mp,
281 xfs_sb_t *sbp = &mp->m_sb;
290 if (M_IGEO(mp)->maxicount) {
303 agino = XFS_AGB_TO_AGINO(mp, sbp->sb_agblocks - 1);
304 ino = XFS_AGINO_TO_INO(mp, agcount - 1, agino);
311 if (xfs_has_small_inums(mp) && ino > XFS_MAXINUMBER_32)
312 set_bit(XFS_OPSTATE_INODE32, &mp->m_opstate);
314 clear_bit(XFS_OPSTATE_INODE32, &mp->m_opstate);
319 ino = XFS_AGINO_TO_INO(mp, index, agino);
321 pag = xfs_perag_get(mp, index);
327 return xfs_is_inode32(mp) ? maxagi : agcount;
332 struct xfs_mount *mp)
334 if (!mp->m_ddev_targp->bt_daxdev &&
335 (!mp->m_rtdev_targp || !mp->m_rtdev_targp->bt_daxdev)) {
336 xfs_alert(mp,
341 if (mp->m_super->s_blocksize != PAGE_SIZE) {
342 xfs_alert(mp,
347 if (xfs_has_reflink(mp) &&
348 bdev_is_partition(mp->m_ddev_targp->bt_bdev)) {
349 xfs_alert(mp,
357 xfs_mount_set_dax_mode(mp, XFS_DAX_NEVER);
363 xfs_mount_t *mp,
371 mp->m_super, &fs_holder_ops);
375 xfs_warn(mp, "Invalid device [%s], error=%d", name, error);
383 struct xfs_mount *mp)
411 if (mp->m_logdev_targp && mp->m_logdev_targp != mp->m_ddev_targp) {
412 blkdev_issue_flush(mp->m_logdev_targp->bt_bdev);
413 invalidate_bdev(mp->m_logdev_targp->bt_bdev);
415 if (mp->m_rtdev_targp) {
416 blkdev_issue_flush(mp->m_rtdev_targp->bt_bdev);
417 invalidate_bdev(mp->m_rtdev_targp->bt_bdev);
419 blkdev_issue_flush(mp->m_ddev_targp->bt_bdev);
420 invalidate_bdev(mp->m_ddev_targp->bt_bdev);
435 struct xfs_mount *mp)
437 struct super_block *sb = mp->m_super;
445 if (mp->m_logname) {
446 error = xfs_blkdev_get(mp, mp->m_logname, &logdev_file);
451 if (mp->m_rtname) {
452 error = xfs_blkdev_get(mp, mp->m_rtname, &rtdev_file);
459 xfs_warn(mp,
470 mp->m_ddev_targp = xfs_alloc_buftarg(mp, sb->s_bdev_file);
471 if (!mp->m_ddev_targp)
475 mp->m_rtdev_targp = xfs_alloc_buftarg(mp, rtdev_file);
476 if (!mp->m_rtdev_targp)
481 mp->m_logdev_targp = xfs_alloc_buftarg(mp, logdev_file);
482 if (!mp->m_logdev_targp)
485 mp->m_logdev_targp = mp->m_ddev_targp;
494 if (mp->m_rtdev_targp)
495 xfs_free_buftarg(mp->m_rtdev_targp);
497 xfs_free_buftarg(mp->m_ddev_targp);
512 struct xfs_mount *mp)
516 error = xfs_setsize_buftarg(mp->m_ddev_targp, mp->m_sb.sb_sectsize);
520 if (mp->m_logdev_targp && mp->m_logdev_targp != mp->m_ddev_targp) {
523 if (xfs_has_sector(mp))
524 log_sector_size = mp->m_sb.sb_logsectsize;
525 error = xfs_setsize_buftarg(mp->m_logdev_targp,
530 if (mp->m_rtdev_targp) {
531 error = xfs_setsize_buftarg(mp->m_rtdev_targp,
532 mp->m_sb.sb_sectsize);
542 struct xfs_mount *mp)
544 mp->m_buf_workqueue = alloc_workqueue("xfs-buf/%s",
546 1, mp->m_super->s_id);
547 if (!mp->m_buf_workqueue)
550 mp->m_unwritten_workqueue = alloc_workqueue("xfs-conv/%s",
552 0, mp->m_super->s_id);
553 if (!mp->m_unwritten_workqueue)
556 mp->m_reclaim_workqueue = alloc_workqueue("xfs-reclaim/%s",
558 0, mp->m_super->s_id);
559 if (!mp->m_reclaim_workqueue)
562 mp->m_blockgc_wq = alloc_workqueue("xfs-blockgc/%s",
564 0, mp->m_super->s_id);
565 if (!mp->m_blockgc_wq)
568 mp->m_inodegc_wq = alloc_workqueue("xfs-inodegc/%s",
570 1, mp->m_super->s_id);
571 if (!mp->m_inodegc_wq)
574 mp->m_sync_workqueue = alloc_workqueue("xfs-sync/%s",
575 XFS_WQFLAGS(WQ_FREEZABLE), 0, mp->m_super->s_id);
576 if (!mp->m_sync_workqueue)
582 destroy_workqueue(mp->m_inodegc_wq);
584 destroy_workqueue(mp->m_blockgc_wq);
586 destroy_workqueue(mp->m_reclaim_workqueue);
588 destroy_workqueue(mp->m_unwritten_workqueue);
590 destroy_workqueue(mp->m_buf_workqueue);
597 struct xfs_mount *mp)
599 destroy_workqueue(mp->m_sync_workqueue);
600 destroy_workqueue(mp->m_blockgc_wq);
601 destroy_workqueue(mp->m_inodegc_wq);
602 destroy_workqueue(mp->m_reclaim_workqueue);
603 destroy_workqueue(mp->m_unwritten_workqueue);
604 destroy_workqueue(mp->m_buf_workqueue);
611 struct xfs_mount *mp = container_of(work, struct xfs_mount,
613 struct super_block *sb = mp->m_super;
629 struct xfs_mount *mp)
635 if (flush_work(&mp->m_flush_inodes_work))
638 queue_work(mp->m_sync_workqueue, &mp->m_flush_inodes_work);
639 flush_work(&mp->m_flush_inodes_work);
675 struct xfs_mount *mp = ip->i_mount;
689 if (xfs_trans_alloc(mp, &M_RES(mp)->tr_fsyncts, 0, 0, 0, &tp))
750 struct xfs_mount *mp)
752 if (mp->m_logdev_targp && mp->m_logdev_targp != mp->m_ddev_targp)
753 xfs_free_buftarg(mp->m_logdev_targp);
754 if (mp->m_rtdev_targp)
755 xfs_free_buftarg(mp->m_rtdev_targp);
756 if (mp->m_ddev_targp)
757 xfs_free_buftarg(mp->m_ddev_targp);
759 debugfs_remove(mp->m_debugfs);
760 kfree(mp->m_rtname);
761 kfree(mp->m_logname);
762 kfree(mp);
770 struct xfs_mount *mp = XFS_M(sb);
773 trace_xfs_fs_sync_fs(mp, __return_address);
781 error = xfs_log_force(mp, XFS_LOG_SYNC);
791 flush_delayed_work(&mp->m_log->l_work);
809 xfs_inodegc_stop(mp);
810 xfs_blockgc_stop(mp);
821 struct xfs_mount *mp = XFS_M(dentry->d_sb);
822 xfs_sb_t *sbp = &mp->m_sb;
835 xfs_inodegc_push(mp);
840 id = huge_encode_dev(mp->m_ddev_targp->bt_dev);
843 icount = percpu_counter_sum(&mp->m_icount);
844 ifree = percpu_counter_sum(&mp->m_ifree);
845 fdblocks = percpu_counter_sum(&mp->m_fdblocks);
847 spin_lock(&mp->m_sb_lock);
851 spin_unlock(&mp->m_sb_lock);
855 fdblocks - xfs_fdblocks_unavailable(mp));
858 fakeinos = XFS_FSB_TO_INO(mp, statp->f_bfree);
860 if (M_IGEO(mp)->maxicount)
863 M_IGEO(mp)->maxicount);
876 ((mp->m_qflags & (XFS_PQUOTA_ACCT|XFS_PQUOTA_ENFD))) ==
880 if (XFS_IS_REALTIME_MOUNT(mp) &&
885 freertx = percpu_counter_sum_positive(&mp->m_frextents);
886 statp->f_bavail = statp->f_bfree = xfs_rtx_to_rtb(mp, freertx);
893 xfs_save_resvblks(struct xfs_mount *mp)
895 mp->m_resblks_save = mp->m_resblks;
896 xfs_reserve_blocks(mp, 0);
900 xfs_restore_resvblks(struct xfs_mount *mp)
904 if (mp->m_resblks_save) {
905 resblks = mp->m_resblks_save;
906 mp->m_resblks_save = 0;
908 resblks = xfs_default_resblks(mp);
910 xfs_reserve_blocks(mp, resblks);
923 struct xfs_mount *mp = XFS_M(sb);
933 xfs_save_resvblks(mp);
934 ret = xfs_log_quiesce(mp);
944 if (ret && !xfs_is_readonly(mp)) {
945 xfs_blockgc_start(mp);
946 xfs_inodegc_start(mp);
956 struct xfs_mount *mp = XFS_M(sb);
958 xfs_restore_resvblks(mp);
959 xfs_log_work_queue(mp);
967 if (!xfs_is_readonly(mp)) {
968 xfs_blockgc_start(mp);
969 xfs_inodegc_start(mp);
981 struct xfs_mount *mp)
984 if (xfs_has_logv2(mp)) {
985 if (mp->m_logbsize <= 0 &&
986 mp->m_sb.sb_logsunit > XLOG_BIG_RECORD_BSIZE) {
987 mp->m_logbsize = mp->m_sb.sb_logsunit;
988 } else if (mp->m_logbsize > 0 &&
989 mp->m_logbsize < mp->m_sb.sb_logsunit) {
990 xfs_warn(mp,
996 if (mp->m_logbsize > XLOG_BIG_RECORD_BSIZE) {
997 xfs_warn(mp,
1006 if (xfs_has_crc(mp) && xfs_has_noattr2(mp)) {
1007 xfs_warn(mp, "Cannot mount a V5 filesystem as noattr2. "
1015 if ((mp->m_sb.sb_flags & XFS_SBF_READONLY) && !xfs_is_readonly(mp)) {
1016 xfs_warn(mp,
1021 if ((mp->m_qflags & XFS_GQUOTA_ACCT) &&
1022 (mp->m_qflags & XFS_PQUOTA_ACCT) &&
1023 !xfs_has_pquotino(mp)) {
1024 xfs_warn(mp,
1034 struct xfs_mount *mp)
1038 error = percpu_counter_init(&mp->m_icount, 0, GFP_KERNEL);
1042 error = percpu_counter_init(&mp->m_ifree, 0, GFP_KERNEL);
1046 error = percpu_counter_init(&mp->m_fdblocks, 0, GFP_KERNEL);
1050 error = percpu_counter_init(&mp->m_delalloc_blks, 0, GFP_KERNEL);
1054 error = percpu_counter_init(&mp->m_frextents, 0, GFP_KERNEL);
1061 percpu_counter_destroy(&mp->m_delalloc_blks);
1063 percpu_counter_destroy(&mp->m_fdblocks);
1065 percpu_counter_destroy(&mp->m_ifree);
1067 percpu_counter_destroy(&mp->m_icount);
1073 struct xfs_mount *mp)
1075 percpu_counter_set(&mp->m_icount, mp->m_sb.sb_icount);
1076 percpu_counter_set(&mp->m_ifree, mp->m_sb.sb_ifree);
1077 percpu_counter_set(&mp->m_fdblocks, mp->m_sb.sb_fdblocks);
1078 percpu_counter_set(&mp->m_frextents, mp->m_sb.sb_frextents);
1083 struct xfs_mount *mp)
1085 percpu_counter_destroy(&mp->m_icount);
1086 percpu_counter_destroy(&mp->m_ifree);
1087 percpu_counter_destroy(&mp->m_fdblocks);
1088 ASSERT(xfs_is_shutdown(mp) ||
1089 percpu_counter_sum(&mp->m_delalloc_blks) == 0);
1090 percpu_counter_destroy(&mp->m_delalloc_blks);
1091 percpu_counter_destroy(&mp->m_frextents);
1096 struct xfs_mount *mp)
1101 mp->m_inodegc = alloc_percpu(struct xfs_inodegc);
1102 if (!mp->m_inodegc)
1106 gc = per_cpu_ptr(mp->m_inodegc, cpu);
1108 gc->mp = mp;
1119 struct xfs_mount *mp)
1121 if (!mp->m_inodegc)
1123 free_percpu(mp->m_inodegc);
1130 struct xfs_mount *mp = XFS_M(sb);
1132 xfs_notice(mp, "Unmounting Filesystem %pU", &mp->m_sb.sb_uuid);
1133 xfs_filestream_unmount(mp);
1134 xfs_unmountfs(mp);
1136 xfs_freesb(mp);
1137 xchk_mount_stats_free(mp);
1138 free_percpu(mp->m_stats.xs_stats);
1139 xfs_inodegc_free_percpu(mp);
1140 xfs_destroy_percpu_counters(mp);
1141 xfs_destroy_mount_workqueues(mp);
1142 xfs_shutdown_devices(mp);
1241 * NOTE: mp->m_super is NULL here!
1398 struct xfs_mount *mp)
1401 if (xfs_has_norecovery(mp) && !xfs_is_readonly(mp)) {
1402 xfs_warn(mp, "no-recovery mounts must be read-only.");
1410 if (xfs_has_attr2(mp) && xfs_has_noattr2(mp)) {
1411 xfs_warn(mp, "attr2 and noattr2 cannot both be specified.");
1416 if (xfs_has_noalign(mp) && (mp->m_dalign || mp->m_swidth)) {
1417 xfs_warn(mp,
1422 if (!IS_ENABLED(CONFIG_XFS_QUOTA) && mp->m_qflags != 0) {
1423 xfs_warn(mp, "quota support not available in this kernel.");
1427 if ((mp->m_dalign && !mp->m_swidth) ||
1428 (!mp->m_dalign && mp->m_swidth)) {
1429 xfs_warn(mp, "sunit and swidth must be specified together");
1433 if (mp->m_dalign && (mp->m_swidth % mp->m_dalign != 0)) {
1434 xfs_warn(mp,
1436 mp->m_swidth, mp->m_dalign);
1440 if (mp->m_logbufs != -1 &&
1441 mp->m_logbufs != 0 &&
1442 (mp->m_logbufs < XLOG_MIN_ICLOGS ||
1443 mp->m_logbufs > XLOG_MAX_ICLOGS)) {
1444 xfs_warn(mp, "invalid logbufs value: %d [not %d-%d]",
1445 mp->m_logbufs, XLOG_MIN_ICLOGS, XLOG_MAX_ICLOGS);
1449 if (mp->m_logbsize != -1 &&
1450 mp->m_logbsize != 0 &&
1451 (mp->m_logbsize < XLOG_MIN_RECORD_BSIZE ||
1452 mp->m_logbsize > XLOG_MAX_RECORD_BSIZE ||
1453 !is_power_of_2(mp->m_logbsize))) {
1454 xfs_warn(mp,
1456 mp->m_logbsize);
1460 if (xfs_has_allocsize(mp) &&
1461 (mp->m_allocsize_log > XFS_MAX_IO_LOG ||
1462 mp->m_allocsize_log < XFS_MIN_IO_LOG)) {
1463 xfs_warn(mp, "invalid log iosize: %d [not %d-%d]",
1464 mp->m_allocsize_log, XFS_MIN_IO_LOG, XFS_MAX_IO_LOG);
1491 struct xfs_mount *mp = sb->s_fs_info;
1495 mp->m_super = sb;
1503 set_bit(XFS_OPSTATE_READONLY, &mp->m_opstate);
1505 mp->m_features |= XFS_FEAT_DIRSYNC;
1507 mp->m_features |= XFS_FEAT_WSYNC;
1509 error = xfs_fs_validate_params(mp);
1528 xfs_notice(mp, "Delaying mount for %d seconds.",
1536 error = xfs_open_devices(mp);
1541 mp->m_debugfs = xfs_debugfs_mkdir(mp->m_super->s_id,
1544 mp->m_debugfs = NULL;
1547 error = xfs_init_mount_workqueues(mp);
1551 error = xfs_init_percpu_counters(mp);
1555 error = xfs_inodegc_init_percpu(mp);
1560 mp->m_stats.xs_stats = alloc_percpu(struct xfsstats);
1561 if (!mp->m_stats.xs_stats) {
1566 error = xchk_mount_stats_alloc(mp);
1570 error = xfs_readsb(mp, flags);
1574 error = xfs_finish_flags(mp);
1578 error = xfs_setup_devices(mp);
1583 if (!xfs_has_crc(mp)) {
1585 xfs_warn_once(mp,
1588 xfs_warn(mp,
1596 if (xfs_has_asciici(mp)) {
1598 xfs_warn_once(mp,
1601 xfs_warn(mp,
1609 if (xfs_has_needsrepair(mp)) {
1610 xfs_warn(mp, "Filesystem needs repair. Please run xfs_repair.");
1620 if (mp->m_sb.sb_inprogress) {
1621 xfs_warn(mp, "Offline file system operation in progress!");
1629 if (mp->m_sb.sb_blocksize > PAGE_SIZE) {
1630 xfs_warn(mp,
1633 mp->m_sb.sb_blocksize, PAGE_SIZE);
1639 if (xfs_sb_validate_fsb_count(&mp->m_sb, mp->m_sb.sb_dblocks) ||
1640 xfs_sb_validate_fsb_count(&mp->m_sb, mp->m_sb.sb_rblocks)) {
1641 xfs_warn(mp,
1658 if (!xfs_verify_fileoff(mp, XFS_B_TO_FSBT(mp, MAX_LFS_FILESIZE))) {
1659 xfs_warn(mp,
1661 XFS_B_TO_FSBT(mp, MAX_LFS_FILESIZE),
1667 error = xfs_filestream_mount(mp);
1676 sb->s_blocksize = mp->m_sb.sb_blocksize;
1681 if (xfs_has_bigtime(mp)) {
1688 trace_xfs_inode_timestamp_range(mp, sb->s_time_min, sb->s_time_max);
1694 if (xfs_has_crc(mp))
1697 if (xfs_has_dax_always(mp)) {
1698 error = xfs_setup_dax_always(mp);
1703 if (xfs_has_discard(mp) && !bdev_max_discard_sectors(sb->s_bdev)) {
1704 xfs_warn(mp,
1706 mp->m_features &= ~XFS_FEAT_DISCARD;
1709 if (xfs_has_reflink(mp)) {
1710 if (mp->m_sb.sb_rblocks) {
1711 xfs_alert(mp,
1718 xfs_info(mp, "using DEBUG-only always_cow mode.");
1719 mp->m_always_cow = true;
1723 if (xfs_has_rmapbt(mp) && mp->m_sb.sb_rblocks) {
1724 xfs_alert(mp,
1730 error = xfs_mountfs(mp);
1734 root = igrab(VFS_I(mp->m_rootip));
1748 xfs_filestream_unmount(mp);
1750 xfs_freesb(mp);
1752 xchk_mount_stats_free(mp);
1754 free_percpu(mp->m_stats.xs_stats);
1756 xfs_inodegc_free_percpu(mp);
1758 xfs_destroy_percpu_counters(mp);
1760 xfs_destroy_mount_workqueues(mp);
1762 xfs_shutdown_devices(mp);
1766 xfs_filestream_unmount(mp);
1767 xfs_unmountfs(mp);
1780 struct xfs_mount *mp)
1782 struct xfs_sb *sbp = &mp->m_sb;
1785 if (xfs_has_norecovery(mp)) {
1786 xfs_warn(mp,
1793 xfs_warn(mp,
1800 clear_bit(XFS_OPSTATE_READONLY, &mp->m_opstate);
1806 if (mp->m_update_sb) {
1807 error = xfs_sync_sb(mp, false);
1809 xfs_warn(mp, "failed to write sb changes");
1812 mp->m_update_sb = false;
1819 xfs_restore_resvblks(mp);
1820 xfs_log_work_queue(mp);
1821 xfs_blockgc_start(mp);
1824 error = xfs_fs_reserve_ag_blocks(mp);
1829 xfs_inodegc_start(mp);
1836 struct xfs_mount *mp)
1844 error = sync_filesystem(mp->m_super);
1852 xfs_blockgc_stop(mp);
1860 error = xfs_blockgc_free_space(mp, &icw);
1862 xfs_force_shutdown(mp, SHUTDOWN_CORRUPT_INCORE);
1873 xfs_inodegc_stop(mp);
1876 error = xfs_fs_unreserve_ag_blocks(mp);
1878 xfs_force_shutdown(mp, SHUTDOWN_CORRUPT_INCORE);
1889 xfs_save_resvblks(mp);
1891 xfs_log_clean(mp);
1892 set_bit(XFS_OPSTATE_READONLY, &mp->m_opstate);
1913 struct xfs_mount *mp = XFS_M(fc->root->d_sb);
1919 if (xfs_has_crc(mp))
1927 if (xfs_has_small_inums(mp) && !xfs_has_small_inums(new_mp)) {
1928 mp->m_features &= ~XFS_FEAT_SMALL_INUMS;
1929 mp->m_maxagi = xfs_set_inode_alloc(mp, mp->m_sb.sb_agcount);
1933 if (!xfs_has_small_inums(mp) && xfs_has_small_inums(new_mp)) {
1934 mp->m_features |= XFS_FEAT_SMALL_INUMS;
1935 mp->m_maxagi = xfs_set_inode_alloc(mp, mp->m_sb.sb_agcount);
1939 if (xfs_is_readonly(mp) && !(flags & SB_RDONLY)) {
1940 error = xfs_remount_rw(mp);
1946 if (!xfs_is_readonly(mp) && (flags & SB_RDONLY)) {
1947 error = xfs_remount_ro(mp);
1959 struct xfs_mount *mp = fc->s_fs_info;
1962 * mp is stored in the fs_context when it is initialized.
1963 * mp is transferred to the superblock on a successful mount,
1967 if (mp)
1968 xfs_mount_free(mp);
1986 struct xfs_mount *mp;
1988 mp = kzalloc(sizeof(struct xfs_mount), GFP_KERNEL | __GFP_NOFAIL);
1989 if (!mp)
1992 spin_lock_init(&mp->m_sb_lock);
1993 INIT_RADIX_TREE(&mp->m_perag_tree, GFP_ATOMIC);
1994 spin_lock_init(&mp->m_perag_lock);
1995 mutex_init(&mp->m_growlock);
1996 INIT_WORK(&mp->m_flush_inodes_work, xfs_flush_inodes_worker);
1997 INIT_DELAYED_WORK(&mp->m_reclaim_work, xfs_reclaim_worker);
1998 mp->m_kobj.kobject.kset = xfs_kset;
2005 mp->m_finobt_nores = true;
2010 mp->m_logbufs = -1;
2011 mp->m_logbsize = -1;
2012 mp->m_allocsize_log = 16; /* 64k */
2014 xfs_hooks_init(&mp->m_dir_update_hooks);
2016 fc->s_fs_info = mp;